Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm5 / internal / observable / fromArray.js
1 /** PURE_IMPORTS_START _Observable,_util_subscribeToArray,_scheduled_scheduleArray PURE_IMPORTS_END */
2 import { Observable } from '../Observable';
3 import { subscribeToArray } from '../util/subscribeToArray';
4 import { scheduleArray } from '../scheduled/scheduleArray';
5 export function fromArray(input, scheduler) {
6     if (!scheduler) {
7         return new Observable(subscribeToArray(input));
8     }
9     else {
10         return scheduleArray(input, scheduler);
11     }
12 }
13 //# sourceMappingURL=fromArray.js.map