15 lines
423 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Observable_1 = require("../Observable");
function scalar(value) {
var result = new Observable_1.Observable(function (subscriber) {
subscriber.next(value);
subscriber.complete();
});
result._isScalar = true;
result.value = value;
return result;
}
exports.scalar = scalar;
//# sourceMappingURL=scalar.js.map