Skip to content

RetryOptions

Options for retryWithTimeout.

Import:

import type { RetryOptions } from 'obsidian-dev-utils/async';

Signature:

export interface RetryOptions

Properties

PropertyTypeDescription
abortSignal?AbortSignalA abort signal to cancel the retry operation.
retryDelayInMilliseconds?numberA delay in milliseconds between retry attempts.
shouldRetryOnError?booleanWhether to retry the function on error.
timeoutInMilliseconds?numberA maximum time in milliseconds to wait before giving up on retrying.

Links to this page: