Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

empty.js 556B

123456789101112
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var Observable_1 = require("../Observable");
  4. exports.EMPTY = new Observable_1.Observable(function (subscriber) { return subscriber.complete(); });
  5. function empty(scheduler) {
  6. return scheduler ? emptyScheduled(scheduler) : exports.EMPTY;
  7. }
  8. exports.empty = empty;
  9. function emptyScheduled(scheduler) {
  10. return new Observable_1.Observable(function (subscriber) { return scheduler.schedule(function () { return subscriber.complete(); }); });
  11. }
  12. //# sourceMappingURL=empty.js.map