TenantAtlas/apps/platform/.pnpm-store/v10/files/85/0f71fcc50a41ffcbad46493e746160f23a6f310d9a4b19130359ddfa088dfb116961ef57cf40ef197c87c8e8328e8c6a6fc00b4b31e34e5a479de0637fc3b7
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
410 B
Plaintext

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