Closed pchmielowski closed 3 years ago
Hi @pchmielowski . This is by design, the Executor
needs to be initialised by Store
before it can emit anything. You can use Bootstrapper
of you need to perform actions when the Store
is created.
Thanks for clarification!
I've noticed that calling
dispatch
inSuspendExecutor
init
block results in the exception. Library version: 2.0.1Exception can be reproduced with the following code:
Result:
I'd appreciate any feedback if calling
dispatch(result)
ininit
block is an anti-pattern. The real world example where I've discovered the issue was similar to: