Zach Klippenstein (he/him) [MOD]
08/04/2025, 5:33 PMcoroutineScope
in your function body so the caller doesn’t need to pass one in, and it t would be more idiomatic to use launch
instead of async
since the timing coroutine doesn’t need to return a value.August Lilleaas
08/07/2025, 6:43 AMAugust Lilleaas
08/07/2025, 6:49 AMZach Klippenstein (he/him) [MOD]
08/07/2025, 8:27 PMcoroutineScope
has pretty good docs, but yea it creates a "child" coroutine and waits for it to finish (including any coroutines that it launches)