Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm2015 / internal / observable / fromArray.js
1 import { Observable } from '../Observable';
2 import { subscribeToArray } from '../util/subscribeToArray';
3 import { scheduleArray } from '../scheduled/scheduleArray';
4 export function fromArray(input, scheduler) {
5     if (!scheduler) {
6         return new Observable(subscribeToArray(input));
7     }
8     else {
9         return scheduleArray(input, scheduler);
10     }
11 }
12 //# sourceMappingURL=fromArray.js.map