You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
523 B
18 lines
523 B
4 years ago
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
var config_1 = require("./config");
|
||
|
var hostReportError_1 = require("./util/hostReportError");
|
||
|
exports.empty = {
|
||
|
closed: true,
|
||
|
next: function (value) { },
|
||
|
error: function (err) {
|
||
|
if (config_1.config.useDeprecatedSynchronousErrorHandling) {
|
||
|
throw err;
|
||
|
}
|
||
|
else {
|
||
|
hostReportError_1.hostReportError(err);
|
||
|
}
|
||
|
},
|
||
|
complete: function () { }
|
||
|
};
|
||
|
//# sourceMappingURL=Observer.js.map
|