source: trip-planner-front/node_modules/rxjs/internal/observable/fromArray.js@ e29cc2e

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

initial commit

  • Property mode set to 100644
File size: 551 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var Observable_1 = require("../Observable");
4var subscribeToArray_1 = require("../util/subscribeToArray");
5var scheduleArray_1 = require("../scheduled/scheduleArray");
6function fromArray(input, scheduler) {
7 if (!scheduler) {
8 return new Observable_1.Observable(subscribeToArray_1.subscribeToArray(input));
9 }
10 else {
11 return scheduleArray_1.scheduleArray(input, scheduler);
12 }
13}
14exports.fromArray = fromArray;
15//# sourceMappingURL=fromArray.js.map
Note: See TracBrowser for help on using the repository browser.