wishthis/node_modules/rxjs/dist/cjs/internal/operators/publishLast.js
2022-04-07 09:06:43 +02:00

13 lines
No EOL
537 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.publishLast = void 0;
var AsyncSubject_1 = require("../AsyncSubject");
var ConnectableObservable_1 = require("../observable/ConnectableObservable");
function publishLast() {
return function (source) {
var subject = new AsyncSubject_1.AsyncSubject();
return new ConnectableObservable_1.ConnectableObservable(source, function () { return subject; });
};
}
exports.publishLast = publishLast;
//# sourceMappingURL=publishLast.js.map