File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed
Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 11# CombineExtensions
22
3- A collection of Combine extensions featuring:
3+ A collection of Combine extensions that introduce additional operators and ` CurrentValuePublisher ` , an immutable alternative to ` CurrentValueSubject ` .
44
5- - ** ` CurrentValuePublisher ` **
6- - An immutable alternative to ` CurrentValueSubject ` .
7- - Bridges seamlessly with ` CurrentValueSubject ` and the ` @Published ` property wrapper for integration with ` ObservableObject ` .
8- - Includes custom operator overloads that apply to both current and future values.
5+ ## Operators
96
10- - ** Operators**
11- - ` flatMapLatest ` : Transforms elements into publishers, republishing values from the most recent inner publisher while canceling previous ones.
12- - ` withPrevious ` : Emits tuples of the current and previous elements.
7+ - ` flatMapLatest ` : Transforms elements into publishers, republishing values from the most recent inner publisher while canceling previous ones.
8+ - ` withPrevious ` : Emits tuples of the current and previous elements.
9+
10+ ## ` CurrentValuePublisher `
11+
12+ - An immutable counterpart to ` CurrentValueSubject ` .
13+ - Bridges seamlessly with ` CurrentValueSubject ` and the ` @Published ` property wrapper for integration with ` ObservableObject ` .
14+ - Includes custom operator overloads that return instances of ` CurrentValuePublisher ` , which are applied to both current and future values.
15+ - Support for the ` flatMapLatest ` operator, enabling nested publisher chaining while ensuring only the most recent publisher remains active.
16+ - Adds support for creating a ` CurrentValuePublisher ` from a KVO-compliant property on ` NSObject ` .
You can’t perform that action at this time.
0 commit comments