postSideEffect

suspend fun <S : Any, SE : Any, T : S> SubclassStateSimpleSyntax<S, SE, T>.postSideEffect(sideEffect: SE)
suspend fun <S : Any, SE : Any> SimpleSyntax<S, SE>.postSideEffect(sideEffect: SE)

Side effects allow you to deal with things like tracking, navigation etc.

These are delivered through Container.sideEffectFlow by calling SimpleSyntax.postSideEffect.

Parameters

sideEffect

the side effect to post through the side effect flow