1
0
mirror of https://github.com/Azure/setup-helm.git synced 2026-07-07 00:41:38 +00:00
Files
2022-01-26 17:16:26 -05:00

8 lines
354 B
Plaintext

// @flow
declare function throat<TResult, TFn: (...args: Array<any>) => Promise<TResult>>(size: number, fn: TFn): TFn;
declare function throat<TResult, TFn: (...args: Array<any>) => Promise<TResult>>(fn: TFn, size: number): TFn;
declare function throat(size: number): <TResult>(fn: () => Promise<TResult>) => Promise<TResult>;
module.exports = throat;