-
@Stable() public interface ConsumerScope<I extends MVIIntent, A extends MVIAction>
-
-
Method Summary
Modifier and Type Method Description abstract Unitsend(I intent)Send a new intent for the provider you used in MVIComposable UnitsendAction(I $self)abstract Unitconsume(SuspendFunction2<CoroutineScope, A, Unit> consumer)Call this somewhere at the top of your MVIComposable to consume actions received from the provider -
-
Method Detail
-
sendAction
Unit sendAction(I $self)
-
consume
abstract Unit consume(SuspendFunction2<CoroutineScope, A, Unit> consumer)
Call this somewhere at the top of your MVIComposable to consume actions received from the provider
-
-
-
-