This contains examples on how observables work and how their use can be leveraged for asyn programming
- Clone the branch to your local system.
- Run
npm installto install all packages - Run
npm startto compile and run your solution - Visit http://localhost:4200 on your browser
- Located inside src/app/components
A simple observable that uses interval function to send continous data packages in a given interval of time
Demosntrates how to create an Observable for an Observer and use of the sequence of ongoing events ordered in time
- Emits a value using
next - Handles error using
error - Handles complete signla using
complete
Uses Observable.fromEvent demonstrating how to create observables from events.
- Uses
ComponentFactoryResolverto load components dynamically