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 */
|
---|
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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.