Skip to content

Instantly share code, notes, and snippets.

@frapontillo
Last active August 29, 2015 14:22
Show Gist options
  • Save frapontillo/525bc91f757ef70a40f3 to your computer and use it in GitHub Desktop.
Save frapontillo/525bc91f757ef70a40f3 to your computer and use it in GitHub Desktop.
crowd-pulse pipeline
+-----------------+
| |
| Observable<A> |
| |
+--------+--------+
|
|
+--------v--------+
| |
| Observable<A> |
| |
+--------+--------+
|
|
+--------v--------+
| |
| Observable<A> +-----------------+
| | |
+--------+--------+ |
this is | +--------v--------+
.cache() | | |
| | Observable<B> |
| | |
| +--------+--------+
| |
| |
| +--------v--------+
| | |
| | Observable<B> |
| | |
| +--------+--------+
| this is |
| .cache() |
| |
| |
| which operator to wait |
| for Observable<B> and |
| then emit Observable<A>? |
| |
| +-----------------+ |
| | | |
+----> Observable<A> <---+
| |
+-----------------+
items have to be emitted
only when Observable<B>
has completed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment