Observer.js 494 B

1234567891011121314151617
  1. /** PURE_IMPORTS_START _config,_util_hostReportError PURE_IMPORTS_END */
  2. import { config } from './config';
  3. import { hostReportError } from './util/hostReportError';
  4. export var empty = {
  5. closed: true,
  6. next: function (value) { },
  7. error: function (err) {
  8. if (config.useDeprecatedSynchronousErrorHandling) {
  9. throw err;
  10. }
  11. else {
  12. hostReportError(err);
  13. }
  14. },
  15. complete: function () { }
  16. };
  17. //# sourceMappingURL=Observer.js.map