blockingIntent

fun <STATE : Any, SIDE_EFFECT : Any> ContainerHost<STATE, SIDE_EFFECT>.blockingIntent(registerIdling: Boolean = true, transformer: suspend SimpleSyntax<STATE, SIDE_EFFECT>.() -> Unit)

Build and execute an intent on Container in a blocking manner, without dispatching.

This API is reserved for special cases e.g. storing text input in the state.

Parameters

registerIdling

whether to register an idling resource when executing this intent. Defaults to true.

transformer

lambda representing the transformer