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 501B

12345678910
  1. /** PURE_IMPORTS_START _Observable PURE_IMPORTS_END */
  2. import { Observable } from '../Observable';
  3. export var EMPTY = /*@__PURE__*/ new Observable(function (subscriber) { return subscriber.complete(); });
  4. export function empty(scheduler) {
  5. return scheduler ? emptyScheduled(scheduler) : EMPTY;
  6. }
  7. function emptyScheduled(scheduler) {
  8. return new Observable(function (subscriber) { return scheduler.schedule(function () { return subscriber.complete(); }); });
  9. }
  10. //# sourceMappingURL=empty.js.map