UNPKG

reactive-actor

Version:
9 lines 388 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addRecipient = void 0; const rxjs_1 = require("rxjs"); function addRecipient(recipient) { return (source$) => source$.pipe((0, rxjs_1.map)((event) => (Object.assign(Object.assign({}, event), { recipient })))); } exports.addRecipient = addRecipient; //# sourceMappingURL=add-recipient.operator.js.map