Join Slack
Powered by
How does one catch an exception within a `launch` ...
# coroutines
j
jeggy
01/16/2020, 12:30 AM
How does one catch an exception within a
launch
scope? Example code:
https://pl.kotl.in/g3Gz4nH43
z
Zach Klippenstein (he/him) [MOD]
01/16/2020, 12:33 AM
Start with this article:
https://kotlinlang.org/docs/reference/coroutines/exception-handling.html
j
jeggy
01/16/2020, 12:36 AM
Found it 🙂 Just need use
Deferred<Unit>
instead of
Job
👍 2
3
Views
Open in Slack
Previous
Next