This repository holds our school project about reactive programming with reactiveX. We choose JavaScript/TypeScript to demonstrate how observables, observers and operators work.
Basics idea: asynchronous data streams
// COLD
var cold = new Observable((observer) => {
var producer = new Producer();
// have observer listen to producer here
});
// HOT
var producer = new Producer();
var hot = new Observable((observer) => {
// have observer listen to producer here
});
To run the examples make sure you have node.js(tested Version 8.9.3LTS) installed on your system.
Run npm install to install the dependencies and run the examples in the console with "node ./src/