UNPKG

@fruitsjs/util

Version:

Useful utilities and tools for building Fruits Eco-Blockchain applications

7 lines (6 loc) 199 B
export interface AsyncRetryArgs<T> { asyncFn: () => Promise<T>; onFailureAsync: (e: Error, retryCount: number) => Promise<boolean>; maxRetrials?: number; retryCount?: number; }