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
block
s output from implementations ofAbstractActionReader
and processes their actions throughUpdater
s andEffect
s. Pass an object exposing a persistence API asstate
in thehandleWithState
method. Persist and retrieve information about the last block processed withupdateIndexState
andloadIndexState
.