interface EffectSender<T>
(source)
Effect sender is an interface that allows you to send effects to be handled outside the handler when you use HandlerWithEffects.
offer |
Submits this effect to be handled somewhere externally, returning immediately whether it was successful. abstract fun offer(effect: T): Boolean |
send |
Send this effect to be handled somewhere externally. It suspends until the effect is received. abstract suspend fun send(effect: T): Unit |