Hey. In dev17 CoroutineContextAmbient has gone. What is the replacement?
a
Adam Powell
08/20/2020, 6:03 AM
rememberCoroutineScope()
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 things