Skip to content

Commit 7d11514

Browse files
Rogerio de Paula Assisfreak4pc
authored andcommitted
Updates Observable.of equivalent in Combine (#9)
1 parent 59a524c commit 7d11514

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Data/operators.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ merge(maxConcurrent:),flatMap(maxPublishers:),
4242
multicast,multicast,
4343
never,Publishers.Empty(completeImmediately: false),
4444
observeOn,receive(on:),
45-
of,Collection.publisher(),"In combine, you can do `[1, 2, 3].publisher()`"
45+
of,Sequence.publisher,`publisher` property on any `Sequence` or you can use `Publishers.Sequence(sequence:)` directly
4646
publish,makeConnectable,
4747
range,❌,
4848
reduce,"reduce, tryReduce",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ It's based on the following blog post: [https://medium.com/gett-engineering/rxsw
9090
| multicast | multicast | |
9191
| never | Publishers.Empty(completeImmediately: false) | |
9292
| observeOn | receive(on:) | |
93-
| of | Collection.publisher() | In combine, you can do `[1, 2, 3].publisher()` |
93+
| of | Sequence.publisher | `publisher` property on any `Sequence` or you can use `Publishers.Sequence(sequence:)` directly |
9494
| publish | makeConnectable | |
9595
| range || |
9696
| reduce | reduce, tryReduce | |

Resources/operators.jpg

8.68 KB
Loading

0 commit comments

Comments
 (0)