badoo / MVIKotlin

Extendable MVI framework for Kotlin Multiplatform with powerful debugging tools (logging and time travel), inspired by Badoo MVICore library
https://arkivanov.github.io/MVIKotlin
Apache License 2.0
827 stars 64 forks source link

Allow Stores instantiation from non-main threads #189

Closed arkivanov closed 3 years ago

arkivanov commented 3 years ago

Jetpack Compose will have multi-threaded compositions at some point, and so it should be possible to instantiate Stores from non-main threads. The Bootstrapper is currently invoked from Store constructor, it should continue be executing on main thread. We probably need an ability to manually trigger the Bootstrapper.

arkivanov commented 3 years ago

Will be delivered in version 2.1.0

arkivanov commented 3 years ago

Closed via #217