onIntentEnqueue

open fun onIntentEnqueue(intent: I): I?

Invoked immediately before an MVIIntent is enqueued (dispatched into the intent buffer).

  • Return null to drop the intent before it is buffered.

  • Return another intent to replace it.

  • Return intent to enqueue unchanged.

  • If you drop the intent here, onIntent will not receive it.

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