Debian Codegraph @

node/rxjs/dist/esm5/internal/operators/toArray.js

raw
1 import { reduce } from './reduce';
2 import { operate } from '../util/lift';
3 var arrReducer = function (arr, value) { return (arr.push(value), arr); };
4 export function toArray() {
5 return operate(function (source, subscriber) {
6 reduce(arrReducer, [])(source).subscribe(subscriber);
7 });
8 }
9 //# sourceMappingURL=toArray.js.map