1 | import { FilterAsyncIterable } from './operators/filter';
|
2 | export function partition(source, predicate, thisArg) {
|
3 | return [
|
4 | new FilterAsyncIterable(source, predicate, thisArg),
|
5 | new FilterAsyncIterable(source, (x, i) => !predicate(x, i), thisArg)
|
6 | ];
|
7 | }
|
8 |
|
9 | //# sourceMappingURL=partition.mjs.map
|