Calls runUpdaters and runEffects on the given actions
Receive block, validate, and handle actions with updaters and effects
Calls handleActions with the appropriate state passed by calling the handle parameter function.
Optionally, pass in a context object as a second parameter.
Returns a promise for the lastProcessedBlockNumber and lastProcessedBlockHash meta state, coinciding with the block
that has just been processed. These are the same values written by updateIndexState().
A promise that resolves to an IndexState
Will run when a rollback block number is passed to handleActions. Implement this method to handle reversing actions full blocks at a time, until the last applied block is the block number passed to this method. If replay is true, effects should not be processed
Process actions against asynchronous side effects.
Process actions against deterministically accumulating updater functions.
Updates the lastProcessedBlockNumber and lastProcessedBlockHash meta state, coinciding with the block
that has just been processed. These are the same values read by updateIndexState().
Takes
blocks output from implementations ofAbstractActionReaderand processes their actions throughUpdaters andEffects. Pass an object exposing a persistence API asstatein thehandleWithStatemethod. Persist and retrieve information about the last block processed withupdateIndexStateandloadIndexState.