Publishers, operators, and subscribers to supplement Combine.
This update is small and straightforward:
asyncMap
& asyncTryMap
have been removed since they don't play nicely with Combine's backpressure mechanisms.This release includes two new useful custom subscribers and a bunch of interesting operators:
retry
on delayed intervals.handleEnd
to clean up resources in any completion case (i.e. successful/failure completion or cancellation).sink
using the new custom subscribers.Also, there is better support for backpressure all around the framework. Many operators/publishers now accept optional "demand" related parameters and work great with standard backpressure mechanisms (such as buffer
).
The sequential flatMap operator/publisher has been re-engineered to accept a transform
closure, making it much more useful.
Conbini has been separated into two products:
import Conbini
for regular usage in your framework or application.import ConbiniForTesting
including the testing conveniences (which depend on XCTest
).Initial release gathering the first batch of publishers/subscribers.