Skip to content

RetryWithTimeoutParams

Options for retryWithTimeout.

Import:

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

Signature:

export interface RetryWithTimeoutParams

Properties

PropertyTypeDescription
operationName?stringThe name of the operation.
retryOptions?RetryOptionsThe retry options.
stackTrace?stringThe stack trace of the source function.

Methods

MethodReturnsDescription
onTimeout(this, context)voidThe function to handle the timeout.
operationFn(this, abortSignal)Promisable<boolean>The function to execute.

Links to this page: