Skip to content

Instantly share code, notes, and snippets.

@jeremiahbiard
Created November 10, 2016 03:38
Show Gist options
  • Save jeremiahbiard/6742d3b489fd6064f9479b5af749b138 to your computer and use it in GitHub Desktop.
Save jeremiahbiard/6742d3b489fd6064f9479b5af749b138 to your computer and use it in GitHub Desktop.
/*
* Reactive extensions to Javascript.
asynchronous data streams
* Data streams can be created from:
UI Events
Http Requests
File Systems
Array-like Objects
Memory/Cache
Promises
Stream: A sequence of ongoig events ordered in time.
Emits a value, error, or complete signal.
-------a-----b----X--c----|-----> time
Observables
-----------
used to watch streams and emit functions when a value, error, or completed signal is returned.
observables can be subscribed to by an observer
observables will constantly watch streams and update accordingly
We can interact with data streams as any regular array.
ReactiveX
A library for composing asynchronous programs by using
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment