of
연산자(operator) 정의: of(...values, scheduler: Scheduler): Observable
Emit variable amount of values in a sequence.
Examples
Example 1: Emitting a sequence of numbers
( jsBin | jsFiddle )
const source = Rx.Observable.of(1,2,3,4,5);
const subscribe = source.subscribe(val => console.log(val));
Example 2: Emitting an object, array, and function
( jsBin | jsFiddle )
const source = Rx.Observable.of({name: 'Brian'}, [1,2,3], function hello(){ return 'Hello'});
const subscribe = source.subscribe(val => console.log(val));
Additional Resources
Source Code: https://github.com/ReactiveX/rxjs/blob/master/src/observable/ArrayObservable.ts