Skip to content

RetryWithTimeoutParams

Options for retryWithTimeout.

Import:

import type { RetryWithTimeoutParams } from '@mnaoumov/typescript-lib/async';

Signature:

export interface RetryWithTimeoutParams

Properties

PropertyTypeDescription
onTimeout?(context: TimeoutContext) => voidThe function to handle the timeout.
operationFunction(abortSignal: AbortSignal) => Promisable<boolean>The function to execute.
operationName?stringThe name of the operation.
retryOptions?RetryOptionsThe retry options.
stackTrace?stringThe stack trace of the source function.

Links to this page: