Releases: shareup/combine-extensions
v6.0.2
v6.0.1
v6.0.0
- Dramatically simplify the implementation of
Publisher.throttle(while:latest:)and remove the need to internal locking. - Change the default state of
Publisher.throttle(while:latest:)to "publishing" from "throttling", which was the previous implementation's default state.
v5.0.2
v5.0.1
v5.0.0
v4.7.0
v4.6.0
- Adds
Distinctpublisher
Distinct publisher requires Upstream.Output value to be an Array of Hashable elements. Be aware that it is the responsibility of the upstream publisher to guarantee the consecutiveness of elements in a pipeline. Distinct does not perform any locking, whatsoever.
v4.5.0
- Adds
isEmptytoSingleSubscriptionStoreandKeyedSubscriptionStore - Adds
containsSubscription(forKey:)toKeyedSubscriptionStore
Be aware that these methods are thread-safe to use (in that they won't cause a crash if called from multiple threads at the same time) but, by the time the results have been returned, the subscriptions inside of the store may have changed and the returned value won't be valid anymore. Therefore, use them with caution.
v4.4.0
Adds AnyConnectablePublisher and ConnectablePublisher.eraseToAnyConnectablePublisher().
AnyConnectablePublisher allows ConnectablePublishers to be wrapped in the same way instances of Publisher can be wrapped in AnyPublisher. This gives API designers the ability to hide implementation details behind a type-erased facade while not giving up the power of ConnectablePublisher.