onDispatchStarted

abstract suspend fun onDispatchStarted(action: ModuleAction, queueWaitMs: Long, queueDepth: Long): String(source)

Called when the store begins processing an action.

Return

A token correlating this dispatch with its completion or failure

Parameters

action

The action leaving the queue

queueWaitMs

Time the action spent queued before processing began

queueDepth

Number of actions still enqueued behind this one