source: trip-planner-front/node_modules/rxjs/internal/observable/empty.js@ eed0bf8

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

initial commit

  • Property mode set to 100644
File size: 556 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var Observable_1 = require("../Observable");
4exports.EMPTY = new Observable_1.Observable(function (subscriber) { return subscriber.complete(); });
5function empty(scheduler) {
6 return scheduler ? emptyScheduled(scheduler) : exports.EMPTY;
7}
8exports.empty = empty;
9function emptyScheduled(scheduler) {
10 return new Observable_1.Observable(function (subscriber) { return scheduler.schedule(function () { return subscriber.complete(); }); });
11}
12//# sourceMappingURL=empty.js.map
Note: See TracBrowser for help on using the repository browser.