.
This commit is contained in:
11
node_modules/rxjs/dist/esm5/internal/operators/map.js
generated
vendored
Normal file
11
node_modules/rxjs/dist/esm5/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(function (source, subscriber) {
|
||||
var index = 0;
|
||||
source.subscribe(createOperatorSubscriber(subscriber, function (value) {
|
||||
subscriber.next(project.call(thisArg, value, index++));
|
||||
}));
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=map.js.map
|
||||
Reference in New Issue
Block a user