wishthis/node_modules/rxjs/_esm2015/internal/Observer.js
2022-05-29 11:24:36 +02:00

16 lines
No EOL
389 B
JavaScript

import { config } from './config';
import { hostReportError } from './util/hostReportError';
export const empty = {
closed: true,
next(value) { },
error(err) {
if (config.useDeprecatedSynchronousErrorHandling) {
throw err;
}
else {
hostReportError(err);
}
},
complete() { }
};
//# sourceMappingURL=Observer.js.map