immediateUntil

open suspend override fun <Ctx> immediateUntil(ctx: Ctx, action: TypedAction<Ctx>, until: (S) -> Boolean): S(source)

Dispatch action and suspend until state matches until.

Actor-native awaiting: fire the action, observe the state transition.