UNPKG

rsxjs

Version:

Resilience Extensions for JS.

8 lines (7 loc) 432 B
/** * @file src/pool/from-async-iterable.ts * @copyright 2018-present Karim Alibhai. All rights reserved. */ import { AsyncPool, PoolOptionsGiven, Worker } from './types'; export declare function fromAsyncIterable<T extends Worker>(iterable: AsyncIterable<T>, options?: PoolOptionsGiven): AsyncPool<T>; export declare function fromAsyncIterator<T extends Worker>(it: AsyncIterator<T>, _options?: PoolOptionsGiven): AsyncPool<T>;