For full text search please use the '?' prefix. e.g. ? Onboarding

Cancellation Gotchas (With Regular Job)

  • ⚠️ Firstly, make sure to understand intended Exception/Cancellation Behavior with Regular Job ⚠️.
  • ⚠️ Swallowing cancellation exception prevents cancellation ⚠️
  • ⚠️ Unhandled exception from async can go to parent scope without going through await() ⚠️
  • ⚠️ cancel() call stops on next suspension point, NOT right away ⚠️
  • ⚠️ join() does NOT rethrow ⚠️

Backlinks
  • CoRoutine Gotchas
  • CancellationException
  • Exception/Cancellation Behavior with Regular Job