Cancellation Gotchas (With Regular Job)
Link to original
- ⚠️ Firstly, make sure to understand intended ExceptionCancellationBehavior ⚠️.
- evil-example-swallowing-cancel-exception
- exceptions-from-async-under-coroutineScope-go-to-parent-and-not-await
- cancel-call-does-not-stop-right-away
- join
scope functions gotchas
Link to original
CoroutineExceptionHandler gotchas
Link to original
building-scope-gotchas
Link to original
withTimeout gotchas
Link to original
Job is not inherited: it is used as a parent
DONT:
runBlocking(SupervisorJob())makes no sense. pg 433.
{max-width: 500px, display: block, margin: 0 auto, border: 5px solid black}