Skip to content

Commit 3a59299

Browse files
committed
Tweaked README
1 parent 3a973c8 commit 3a59299

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
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`.

0 commit comments

Comments
 (0)