SideEffectMiddleware

fun <State> SideEffectMiddleware(vararg sideEffects: SideEffect<State>): Middleware<State>
fun <State> SideEffectMiddleware(sideEffects: Collection<SideEffect<State>>): Middleware<State>

Returns a Middleware that passes actions to the supplied sideEffects, then dispatches their returned Actions back into the StoreFlow