undici-retry
Version:
Library for handling retry logic with undici HTTP client
10 lines (9 loc) • 722 B
TypeScript
export { UnprocessableResponseError } from './lib/UnprocessableResponseError';
export { UndiciRetryRequestError } from './lib/UndiciRetryRequestError';
export { sendWithRetry, DEFAULT_RETRY_CONFIG, NO_RETRY_CONFIG } from './lib/undiciRetry';
export { createDelayToNextMinuteResolver } from './lib/delayResolvers';
export { isInternalRequestError, isRequestResult, isUnprocessableResponseError, } from './lib/typeGuards';
export type { CreateDelayToNextMinuteResolverConfig } from './lib/delayResolvers';
export type { RetryConfig, RequestResult, DelayResolver, RequestParams } from './lib/undiciRetry';
export type { Either } from './lib/either';
export type { InternalRequestError } from './lib/UndiciRetryRequestError';