Skip to content

Commit 9bb868a

Browse files
authored
Add Optional.Publisher for Rx from operator (#18)
1 parent 3456ca6 commit 9bb868a

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
@@ -28,7 +28,7 @@ first,"first, tryFirst",
2828
flatMap,flatMap,
2929
flatMapFirst,❌,
3030
flatMapLatest,switchToLatest,
31-
from,❌,
31+
from(optional:),Optional.Publisher(_ output:),
3232
groupBy,❌,
3333
ifEmpty(default:),replaceEmpty(with:),
3434
ifEmpty(switchTo:),❌,Could be achieved with composition - replaceEmpty(with: publisher).switchToLatest()

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ It's based on the following blog post: [https://medium.com/gett-engineering/rxsw
7676
| flatMap | flatMap | |
7777
| flatMapFirst || |
7878
| flatMapLatest | switchToLatest | |
79-
| from | | |
79+
| from(optional:) | Optional.Publisher(_ output:) | |
8080
| groupBy || |
8181
| ifEmpty(default:) | replaceEmpty(with:) | |
8282
| ifEmpty(switchTo:) || Could be achieved with composition - replaceEmpty(with: publisher).switchToLatest() |

Resources/operators.jpg

6.98 KB
Loading

0 commit comments

Comments
 (0)