23 lines
832 B
JavaScript
23 lines
832 B
JavaScript
|
"use strict";
|
||
|
var __extends = (this && this.__extends) || function (d, b) {
|
||
|
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||
|
function __() { this.constructor = d; }
|
||
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||
|
};
|
||
|
var Observable_1 = require('../Observable');
|
||
|
var noop_1 = require('../util/noop');
|
||
|
var NeverObservable = (function (_super) {
|
||
|
__extends(NeverObservable, _super);
|
||
|
function NeverObservable() {
|
||
|
_super.call(this);
|
||
|
}
|
||
|
NeverObservable.create = function () {
|
||
|
return new NeverObservable();
|
||
|
};
|
||
|
NeverObservable.prototype._subscribe = function (subscriber) {
|
||
|
noop_1.noop();
|
||
|
};
|
||
|
return NeverObservable;
|
||
|
}(Observable_1.Observable));
|
||
|
exports.NeverObservable = NeverObservable;
|
||
|
//# sourceMappingURL=NeverObservable.js.map
|