source: trip-planner-front/node_modules/rxjs/_esm2015/internal/observable/fromArray.js@ 6c1585f

Last change on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 399 bytes
Line 
1import { Observable } from '../Observable';
2import { subscribeToArray } from '../util/subscribeToArray';
3import { scheduleArray } from '../scheduled/scheduleArray';
4export 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
Note: See TracBrowser for help on using the repository browser.