would be good to provide the scond of the planned middleware components: saga
a sage uses special effect operations that operate on the action stream, like take put or race to name a few. https://redux-saga.js.org/
middleware components already build upon kotlin's coroutines, so it should be doable to provide an implementation here.