``` suspend fun whatever() = coroutineScope{ w...
# coroutines
e
Copy code
suspend fun whatever() = coroutineScope{
    while(isActive){ ... }
}
g
@Paul Woitaschek You don’t need coroutineScope in this case, you have coroutineContext available in any suspend function, same as isActive extension function, so just omit coroutineScope