Colton Idle
09/16/2025, 11:00 PMclass MyCoolHandler{
var mContinuation: Continuation<Foo>? = null
suspend fun waitingForFoo(): Foo = suspendCoroutine { continuation ->
// code
mContinuation = continuation
}
// some other class functions
}Zach Klippenstein (he/him) [MOD]
09/16/2025, 11:16 PMZach Klippenstein (he/him) [MOD]
09/16/2025, 11:17 PMColton Idle
09/17/2025, 12:07 AMstreetsofboston
09/17/2025, 12:07 AMstreetsofboston
09/17/2025, 12:10 AMZach Klippenstein (he/him) [MOD]
09/17/2025, 12:15 AMgildor
09/17/2025, 4:26 AMphldavies
09/17/2025, 9:09 AMgildor
09/17/2025, 9:46 AMstreetsofboston
09/17/2025, 11:34 AMgildor
09/17/2025, 2:56 PM