Reactive Extensions (Rx) is a library for composing asynchronous and event-based programs using observable sequences and LINQ-style query operators.
Data sequences can take many forms, such as a stream of data from a file or web service, web services requests, system notifications, or a series of events such as user input.
Reactive Extensions represents all these data sequences as observable sequences. An application can subscribe to these observable sequences to receive asynchronous notifications as new data arrive.
|Single return value||Mutiple return values|
|Pull/Synchronous/Interactive||Object||Iterables(Array | Set | Map)|
To put it more concretely, if you know how to program against Arrays using the Array#extras, then you already know how to use RxJS!
|Example code showing how similar high-order functions can be applied to an Array and an Observable|
There are a number of ways of getting started with RxJS including:
- Getting Started With RxJS
- RxJS Guidelines
- Getting to Know RxJS Libraries
- How Do I?
- Mapping RxJS from Different Libraries
- API Documentation
Getting Started With RxJS
- What are the Reactive Extensions?
- Exploring Major Concepts in RxJS
- Creating and Querying Observable Sequences
- Creating and Subscribing to Simple Observable Sequences
- Bridging to Events
- Bridging to Callbacks
- Bridging to Promises
- Generators and Observable Sequences
- Querying Observable Sequences
- Error Handling With Observable Sequences
- Transducers with Observable Sequences
- Backpressure with Observable Sequences
- Operators by Category
- Which Operator do I use?
- Scheduling and Concurrency
- Testing and Debugging
- Implementing Your Own Operators
Curious on how we designed RxJS? This is covered along with overall guidelines of how your RxJS code should operate. In addition, we have contribution guidelines which set the bar for which we accept contributions.
Getting to Know RxJS Libraries
rx.lite.js, but you may find you need more operators, so you start with
rx.js and add additional files to mix in functionality as you need it.
The complete library:
How Do I?
- How do I wrap an existing API?
- How do I integrate jQuery with RxJS?
- How do I integrate Angular.js with RxJS?
- How do I create a simple event emitter?
Mapping RxJS from Different Libraries
- For Bacon.js Users
- For Async.js Users
- For Highland.js Users
Reactive Extensions Class Library
This section contains the reference documentation for the Reactive Extensions class library.