Can I conditionally park a coroutine, and resume it after some signal?
o
octylFractal
11/12/2019, 6:33 PM
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