~/talk

Kotlin Coroutines - The new Kid on the Async Block

Talkat DevFest Montreal 2017 · on Saturday, 2017-11-18· [kotlin]
links:none on file
slides:none on file

Kotlin coroutines let synchronous-looking code run asynchronously by using suspend functions, coroutine builders like launch/async and Dispatchers (example uses Dispatchers.CommonPool), and by transforming callback APIs into suspendables via continuations with resumeWithException / resume. The compiler turns suspend blocks into a state machine; cancellation uses Job and checks like isActive. Examples show callback-to-coroutine wrappers and Android UI use, and the approach is practical and interoperable with promises, Rx, and existing Java libraries.

AI-written summary · about

~/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.