locklift
Version:
Node JS framework for working with Ever contracts. Inspired by Truffle and Hardhat. Helps you to build, test, run and maintain your smart contracts.
9 lines (8 loc) • 355 B
TypeScript
import { RetryConfig } from "rxjs";
export declare const httpService: import("axios").AxiosInstance;
/**
* ```
* const result = await retryWithDelay(() => promiseFunction(params), { delay: 1000, count:10 } )
* ```
**/
export declare const retryWithDelay: <T>(promise: () => Promise<T>, retryConfig: Omit<RetryConfig, "resetOnSuccess">) => Promise<T>;