reactormonk
05/08/2024, 5:42 PMscope.launch(<http://Dispatchers.IO|Dispatchers.IO> + SupervisorJob()) { ... } a good shorthand for when I want to fire & forget?ephemient
05/08/2024, 6:14 PMGlobalScope to make it obvious the job isn't scoped (that's effectively GlobalScope.launch(<http://Dispatchers.IO|Dispatchers.IO>) { ... })Youssef Shoaib [MOD]
05/08/2024, 7:12 PMSupervisorJob so that the supervisor and all its children is cancelled when the parent is cancelled. The way to do that is like: scope.coroutineContext[Job]ephemient
05/08/2024, 7:18 PMsupervisorScope {Zach Klippenstein (he/him) [MOD]
05/08/2024, 7:26 PMZach Klippenstein (he/him) [MOD]
05/08/2024, 7:27 PMreactormonk
05/09/2024, 9:45 AMephemient
05/09/2024, 1:26 PMsupervisorScope {}Zach Klippenstein (he/him) [MOD]
05/09/2024, 5:14 PM