source: trip-planner-front/node_modules/rxjs/_esm5/internal/observable/empty.js@ 8d391a1

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

initial commit

  • Property mode set to 100644
File size: 501 bytes
Line 
1/** PURE_IMPORTS_START _Observable PURE_IMPORTS_END */
2import { Observable } from '../Observable';
3export var EMPTY = /*@__PURE__*/ new Observable(function (subscriber) { return subscriber.complete(); });
4export function empty(scheduler) {
5 return scheduler ? emptyScheduled(scheduler) : EMPTY;
6}
7function emptyScheduled(scheduler) {
8 return new Observable(function (subscriber) { return scheduler.schedule(function () { return subscriber.complete(); }); });
9}
10//# sourceMappingURL=empty.js.map
Note: See TracBrowser for help on using the repository browser.