onActionDispatch

open fun onActionDispatch(action: A): A?

Invoked after an MVIAction is dequeued and before it is delivered to subscribers.

  • Return null to drop the action.

  • Return another action to replace it.

  • Return action to continue unchanged.

  • Exceptions thrown here bypass onException and will be thrown to the caller.