Skip to content

Commit b86cfd7

Browse files
stephencelisfreak4pc
authored andcommitted
Add Empty/Never and Timer.publish (#5)
1 parent 3f18df3 commit b86cfd7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ It's based on the following blog post: [https://medium.com/gett-engineering/rxsw
6868
| distinctUntilChanged | removeDuplicates, tryRemoveDuplicates | |
6969
| do | handleEvents | |
7070
| elementAt | output(at:) | |
71-
| empty | | |
71+
| empty | Publishers.Empty(completeImmediately: true) | |
7272
| enumerated || |
7373
| error | Publishers.Once | Publishers.Once has an initializer that takes an Error |
7474
| filter | filter, tryFilter | |
@@ -87,7 +87,7 @@ It's based on the following blog post: [https://medium.com/gett-engineering/rxsw
8787
| materialize || |
8888
| merge | merge, tryMerge | |
8989
| multicast | multicast | |
90-
| never | | |
90+
| never | Publishers.Empty(completeImmediately: false) | |
9191
| observeOn | receive(on:) | |
9292
| of || |
9393
| range || |
@@ -109,7 +109,7 @@ It's based on the following blog post: [https://medium.com/gett-engineering/rxsw
109109
| takeUntil | prefix(untilOutputFrom:) | |
110110
| throttle | throttle | |
111111
| timeout | timeout | |
112-
| timer | | |
112+
| timer | Timer.publish | |
113113
| toArray() | collect() | |
114114
| window | collect(Publishers.TimeGroupingStrategy) | Combine has a TimeGroupingStrategy.byTimeOrCount that could be used as a window. |
115115
| withLatestFrom || |
@@ -119,4 +119,4 @@ It's based on the following blog post: [https://medium.com/gett-engineering/rxsw
119119
# Contributing
120120
Add any data/operators to the appropriate CSV files in the **Data** folder, run `bundle install` and `generate.rb`.
121121

122-
Finally, commit the changes and submit a Pull Request.
122+
Finally, commit the changes and submit a Pull Request.

0 commit comments

Comments
 (0)