UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

10 lines (8 loc) 314 B
import { FilterAsyncIterable } from './operators/filter'; export function partition(source, predicate, thisArg) { return [ new FilterAsyncIterable(source, predicate, thisArg), new FilterAsyncIterable(source, (x, i) => !predicate(x, i), thisArg) ]; } //# sourceMappingURL=partition.mjs.map