frontend/.pnpm-store/v3/files/85/0f71fcc50a41ffcbad46493e746160f23a6f310d9a4b19130359ddfa088dfb116961ef57cf40ef197c87c8e8328e8c6a6fc00b4b31e34e5a479de0637fc3b7

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