~/talk

Asynchronous Programming with Combine

Talkat /dev/world 2019 · 2019-09-26..09-27· [swift]
links:none on file
slides:none on file

Apple’s Combine is a declarative Swift API for streams: code shows concrete use of URLSession dataTask publisher, timers, NotificationCenter and KVO publishers, plus map/filter/scan, combineLatest and catch for errors. Pipelines return concrete publisher types often erased with eraseToAnyPublisher; subscriptions produce AnyCancellable stored in a set or via store(in:). Examples show debouncing, parallel requests, cancellation and transforming failures; Combine runs only on recent Apple OSes and is early-adopter ready.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:06What is asynchronous programming
  3. 5:25Reactive programming concepts
  4. 7:37Publisher and subscriber basics
  5. 10:26Simple Combine examples
  6. 12:58Cancellables and cleanup
  7. 15:26Demand and subscriptions
  8. 17:30Publisher-subscriber lifecycle
  9. 18:59Handling state with scan
  10. 21:14Network requests with Combine
  11. 22:59Error handling in pipelines
  12. 23:21Combining publishers
  13. 24:51Type erasure in Combine
  14. 25:38Practical tips for Combine
  15. 27:03Production use and limitations
  16. 28:31Q&A and closing
~/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.