Is there an easy way to await the first result of ...
# coroutines
n
Is there an easy way to await the first result of two Deferred and cancel the other?
d
šŸ™‚
n
Cool, thanks! Does this cancel the other one or do I have to call
coroutineContext.cancelChildren()
like in some of the samples there?
d
you have to cancel it manually
c
i think you can cancel the other one. its also ok to cancel all
n
Great, thank you guys šŸ˜„
l