The Combine Triad
summary
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
chapters (12)
- 0:00Introduction
- 0:52Publisher
- 2:23Sink
- 5:50Redefine Sync
- 7:24Subscriber Protocol
- 9:14Maximum or No Values
- 10:13Additive Demand
- 11:35Back Pressure Management
- 12:12Sync
- 14:00Publishers
- 16:32Request Demand
- 17:42Summary








