bot18
Version:
A high-frequency cryptocurrency trading bot by Zenbot creator @carlos8f
20 lines (15 loc) • 654 B
TypeScript
// Type definitions for p-retry 1.0
// Project: https://github.com/sindresorhus/p-retry#readme
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import { OperationOptions } from 'retry';
export = pRetry;
declare function pRetry<T>(input: (attemptCount: number) => PromiseLike<T> | T, options?: OperationOptions): Promise<T>;
declare namespace pRetry {
class AbortError extends Error {
readonly name: 'AbortError';
readonly originalError: Error;
constructor(message: string | Error);
}
}