Skip to content

Instantly share code, notes, and snippets.

@pastparty
Last active January 17, 2019 23:04
Show Gist options
  • Select an option

  • Save pastparty/23340b9935f81030684d1c7a27e5147d to your computer and use it in GitHub Desktop.

Select an option

Save pastparty/23340b9935f81030684d1c7a27e5147d to your computer and use it in GitHub Desktop.
Yo dawg, I heard you like observable sequences

Rx.Observable.prototype.flatMapLatest(selector, [thisArg])

Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.


(via https://gist.github.com/staltz/868e7e9bc2a7b8c1f754)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment