intent

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

Build and execute an intent on Container.

Parameters

registerIdling

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

transformer

lambda representing the transformer