TenantAtlas/apps/platform/.pnpm-store/v10/files/04/3885d8da6c6acb33266f6262029e571601464bcba12b6a9bccc6f56d9aaf52b2de0b170894a9c73974f044798cb8e0cd57c22941666e21018bf724f9126668
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

11 lines
422 B
Plaintext

import { operate } from '../util/lift';
import { createOperatorSubscriber } from './OperatorSubscriber';
export function map(project, thisArg) {
return operate(function (source, subscriber) {
var index = 0;
source.subscribe(createOperatorSubscriber(subscriber, function (value) {
subscriber.next(project.call(thisArg, value, index++));
}));
});
}
//# sourceMappingURL=map.js.map