Vinay Gaba
10/15/2020, 3:49 PMlaunchInComposition
got renamed to LaunchedTask
. Eerily close to AsyncTask
in name and functionally (not entirely true) 😆Zach Klippenstein (he/him) [MOD]
10/15/2020, 3:57 PM@Composable fun <T> AsyncTask(block: suspend CoroutineScope.() -> T): Deferred<T> {
val scope = rememberCoroutineScope()
return remember { scope.async(block) }
}
🧌Adam Powell
10/15/2020, 4:18 PMproduceState
but without the observable result 😄SideEffect
and DisposableEffect
, and then it might make more sense for this to be LaunchedEffect
Zach Klippenstein (he/him) [MOD]
10/15/2020, 5:03 PMApiEffect
Se7eN
10/15/2020, 5:19 PMEffectEffect
Adam Powell
10/15/2020, 10:42 PM