UNPKG

@sybil-center/zkc-core

Version:
2 lines (1 loc) 139 B
export declare function repeatUtil<T>(shouldStop: (t: T | Error) => boolean, betweenMS: number, fn: () => Promise<T>): Promise<T | Error>;