of 

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