popalay
08/20/2020, 5:53 AMAdam Powell
08/20/2020, 6:03 AMrememberCoroutineScope()
and launchInComposition {}
, which one depends on the use case. The former gives you a scope that will be cleaned up that you can use to launch from other events, the latter is useful for more actor-like thingsZach Klippenstein (he/him) [MOD]
08/20/2020, 7:42 AMrememberCoroutineScope
won’t compile if you pass a lambda.
https://kotlinlang.slack.com/archives/CJLTWPH7S/p1597350451097100