Skip to content

launch coroutines from initializers, thunks & reducers

Compare
Choose a tag to compare
@1gravity 1gravity released this 19 Sep 02:41
· 50 commits to master since this release

coroutines can now be launched from initializers, thunks and reducers like this:

thunk {
    launch(JobConfig(true)) {
        load(post)
    }
}

With JobConfig(true)) previously launched coroutines would be cancelled before the new one is started.