UNPKG

@thi.ng/transducers-async

Version:

Async versions of various highly composable transducers, reducers and iterators

5 lines 448 B
import type { AsyncStatefulPredicate, MaybeAsyncIterable, StatefulPredicate } from "@thi.ng/api"; import type { AsyncTransducer } from "./api.js"; export declare function throttle<T>(pred: AsyncStatefulPredicate<T> | StatefulPredicate<T>): AsyncTransducer<T, T>; export declare function throttle<T>(pred: AsyncStatefulPredicate<T> | StatefulPredicate<T>, src: MaybeAsyncIterable<T>): AsyncIterableIterator<T>; //# sourceMappingURL=throttle.d.ts.map