wishthis/node_modules/rxjs/_esm2015/internal/Observer.js

16 lines
389 B
JavaScript
Raw Normal View History

2022-01-21 08:28:41 +00:00
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