~/talk

I Created You, I Can Cancel You: How to Handle Coroutine Cancellation Properly

TalkinRussianat Mobius 2021 Piter · 2021-04-13..04-16· [kotlin, concurrency]
links:none on file
slides:none on file

Explains coroutine cancellation in Kotlin: when manual cancellation of a running coroutine is needed, how to cancel it correctly (using coroutine APIs), and how to detect the moment a coroutine is cancelled. Aimed at developers who already know basic coroutine operation and want to understand the underlying mechanics of cancellation.

AI-written summary · about

  1. 0:00Introduction
  2. 4:27Why cancellation matters
  3. 8:22Cancellation in threads
  4. 13:59Real app coroutines
  5. 20:04Lifecycle states
  6. 27:16Cancellation options
  7. 36:38Handling events
  8. 43:33Coroutine interruptions
  9. 51:01Retrofit cancellation
  10. 55:11Common pitfalls
  11. 1:02:04Best practices
  12. 1:04:32Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.