Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
389 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | import { config } from './config';
|
---|
| 2 | import { hostReportError } from './util/hostReportError';
|
---|
| 3 | export const empty = {
|
---|
| 4 | closed: true,
|
---|
| 5 | next(value) { },
|
---|
| 6 | error(err) {
|
---|
| 7 | if (config.useDeprecatedSynchronousErrorHandling) {
|
---|
| 8 | throw err;
|
---|
| 9 | }
|
---|
| 10 | else {
|
---|
| 11 | hostReportError(err);
|
---|
| 12 | }
|
---|
| 13 | },
|
---|
| 14 | complete() { }
|
---|
| 15 | };
|
---|
| 16 | //# sourceMappingURL=Observer.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.