Creates an Observable that will immediately emit all passed arguments
1234567const { rxObserver } = require('api/v0.3'); const { of } = require('rxjs'); of(1, 2, 3) .subscribe(rxObserver());
Use from
to create a stream from an iterable value or a promise