Can I conditionally park a coroutine, and resume i...
# coroutines
u
Can I conditionally park a coroutine, and resume it after some signal?
o
coroutines suspend, not park. you can do this with suspendCoroutine/suspendCancellableCoroutine, and save the continuation you get for later, where you can resume it when you get the signal
👆 1