Skip to content

Commit

Permalink
Add ifEmpty note and fixed ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
freak4pc committed Jun 19, 2019
1 parent f55b532 commit 3f18df3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Data/operators.csv
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ flatMapFirst,❌,
flatMapLatest,switchToLatest,
from,❌,
groupBy,❌,
ifEmpty(default:),,
ifEmpty(switchTo:),replaceEmpty(with:),
ifEmpty(default:),replaceEmpty(with:),
ifEmpty(switchTo:),❌,Could be achieved with composition - replaceEmpty(with: publisher).switchToLatest()
ignoreElements,ignoreOutput,
interval,❌,
just,Publishers.Just,
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ It's based on the following blog post: [https://medium.com/gett-engineering/rxsw
| flatMapLatest | switchToLatest | |
| from || |
| groupBy || |
| ifEmpty(default:) | | |
| ifEmpty(switchTo:) | replaceEmpty(with:) | |
| ifEmpty(default:) | replaceEmpty(with:) | |
| ifEmpty(switchTo:) | | Could be achieved with composition - replaceEmpty(with: publisher).switchToLatest() |
| ignoreElements | ignoreOutput | |
| interval || |
| just | Publishers.Just | |
Expand Down
Binary file modified Resources/operators.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3f18df3

Please sign in to comment.