Is there a way to `.await()` a coroutine started w...
# coroutines
r
Is there a way to
.await()
a coroutine started with
async(start = CoroutineStart.LAZY)
without actually starting it? My use case: There is a command queue. All commands should be executed sequentially on separate dispatcher. Commands should have return values (responses). I want to have: * suspend function which posts new command to the queue and `.await()`s until there is a response. * suspend function which pulls commands from the queue one by one and `.start()`s them (so they are executed on their separate dispatcher).