mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
15 lines
551 B
JavaScript
15 lines
551 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var Observable_1 = require("../Observable");
|
|
var subscribeToArray_1 = require("../util/subscribeToArray");
|
|
var scheduleArray_1 = require("../scheduled/scheduleArray");
|
|
function fromArray(input, scheduler) {
|
|
if (!scheduler) {
|
|
return new Observable_1.Observable(subscribeToArray_1.subscribeToArray(input));
|
|
}
|
|
else {
|
|
return scheduleArray_1.scheduleArray(input, scheduler);
|
|
}
|
|
}
|
|
exports.fromArray = fromArray;
|
|
//# sourceMappingURL=fromArray.js.map
|