~/talk

Deep diving into the Kotlin Coroutines API

Talkat droidCon Berlin 2019 · 2019-07-01..07-03· [java, android]
links:none on file
slides:none on file

Covers the Kotlin Coroutines API and its internals with concrete examples: shows how launch/async builders create coroutines, how a Job and Dispatchers entry in CoroutineContext controls lifecycle and threading, and how async/await yields parallel Deferred results. Demonstrates cancellation that stops in-progress work rather than blocking threads, decompiled suspend functions become a continuation state machine (the async decompile explodes into a huge staircase), and gives practical rules: avoid GlobalScope, tie scopes to presenters/activities, prefer async for results.

AI-written summary · about

  1. 0:00Introduction and speaker
  2. 3:18Evolution of asynchronous programming
  3. 10:04Coroutine builders and job lifecycle
  4. 19:19Coroutine context and dispatchers
  5. 26:40Suspendable functions and continuations
  6. 34:24Async await and structured concurrency
  7. 38:18Writing safe and structured coroutines
  8. 39:21When to use coroutines
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.