UNPKG

@bronlabs/intents-sdk

Version:
5 lines (4 loc) 262 B
import * as winston from 'winston'; export declare const log: winston.Logger; export declare const sleep: (ms: number) => Promise<void>; export declare function expRetry<T>(fn: () => Promise<T>, maxRetries?: number, retryIf?: (e: Error) => boolean): Promise<T>;