~/talk

The Combine Triad

Talkat dotSwift 2020 · on Monday, 2020-02-03· [swift, reactive-programming]
slides:none on file

Recreates Combine’s plumbing by re-implementing Combine's sink subscriber and a matching data task publisher so the return value is an actual cancellable that tears down the stream. Shows a concrete subscription that responds to request(.unlimited) and how demand is additive, emits one data event then completes and cancels itself. Includes full subscriber, publisher and subscription code, explains backpressure handling and why holding the AnyCancellable is necessary.

AI-written summary · about

  1. 0:00Introduction
  2. 0:52Publisher
  3. 2:23Sink
  4. 5:50Redefine Sync
  5. 7:24Subscriber Protocol
  6. 9:14Maximum or No Values
  7. 10:13Additive Demand
  8. 11:35Back Pressure Management
  9. 12:12Sync
  10. 14:00Publishers
  11. 16:32Request Demand
  12. 17:42Summary
~/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.