UNPKG

@yoroi/common

Version:

The Common package of Yoroi SDK

15 lines (13 loc) 383 B
/** * Flowtype definitions for promises * Generated by Flowgen from a Typescript Definition * Flowgen v1.21.0 */ declare export function runTasks<T>( taskIterator: Iterable<() => Promise<T>>, maxConcurrency?: number ): AsyncGenerator<T, void, mixed>; declare export function PromiseAllLimited<T>( tasks: Array<() => Promise<T>>, maxConcurrency?: number ): Promise<T[]>;