Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 535 Bytes

Creates an Observable that will immediately emit all passed arguments. Try passing of several arguments, e.g. of(1, 2, 3)

const { rxObserver } = require('api/v0.3');
const { of } = require('rxjs');

of(1)
  .subscribe(rxObserver());

Use from to create a stream from an iterable or a promise

You can’t perform that action at this time.