initial commit - far from runnable
This commit is contained in:
commit
db057ce342
8614 changed files with 1032171 additions and 0 deletions
11
node_modules/rxjs/dist/esm/internal/operators/map.js
generated
vendored
Normal file
11
node_modules/rxjs/dist/esm/internal/operators/map.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue