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

18 lines
494 B
JavaScript
Raw Normal View History

2022-01-21 08:28:41 +00:00
/** PURE_IMPORTS_START _config,_util_hostReportError PURE_IMPORTS_END */
import { config } from './config';
import { hostReportError } from './util/hostReportError';
export var empty = {
closed: true,
next: function (value) { },
error: function (err) {
if (config.useDeprecatedSynchronousErrorHandling) {
throw err;
}
else {
hostReportError(err);
}
},
complete: function () { }
};
//# sourceMappingURL=Observer.js.map