RetryWithTimeoutParams
Options for retryWithTimeout.
Import:
import type { RetryWithTimeoutParams } from '@mnaoumov/typescript-lib/async';Signature:
export interface RetryWithTimeoutParamsProperties
| Property | Type | Description |
|---|---|---|
| onTimeout? | (context: TimeoutContext) => void | The function to handle the timeout. |
| operationFunction | (abortSignal: AbortSignal) => Promisable<boolean> | The function to execute. |
| operationName? | string | The name of the operation. |
| retryOptions? | RetryOptions | The retry options. |
| stackTrace? | string | The stack trace of the source function. |
Links to this page: