UNPKG

@aimee-blue/ab-service-kit

Version:
23 lines (18 loc) 628 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.publishStream = publishStream; exports.publishBehaviorStream = publishBehaviorStream; exports.publishReplayStream = publishReplayStream; var _operators = require("rxjs/operators"); function publishStream(stream) { return stream.pipe((0, _operators.publish)()); } function publishBehaviorStream(stream, value) { return stream.pipe((0, _operators.publishBehavior)(value)); } function publishReplayStream(stream, bufferSize) { return stream.pipe((0, _operators.publishReplay)(bufferSize)); } //# sourceMappingURL=publishStream.js.map