考虑以下,const myValues = ['val1', 'val2', 'val3'];const atOnce = Observable.of(myValues); // This will emit the entire myValues array as a single emission.// The Observables below are similar in behaviour// The will emit the values from myValues one at a timeconst discreteOne = Observable.of(...myValues);const discreteTwo = Observable.from(myValues);