@thi.ng/transducers-async
Version:
Async versions of various highly composable transducers, reducers and iterators
5 lines • 390 B
TypeScript
import type { AsyncPredicate, MaybeAsyncIterable, Predicate } from "@thi.ng/api";
import type { AsyncTransducer } from "./api.js";
export declare function filter<T>(fn: AsyncPredicate<T> | Predicate<T>): AsyncTransducer<T, T>;
export declare function filter<T>(fn: AsyncPredicate<T> | Predicate<T>, src: MaybeAsyncIterable<T>): AsyncIterableIterator<T>;
//# sourceMappingURL=filter.d.ts.map