Skip to content

TimeoutParams

Parameters for timeout.

Import:

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

Signature:

export interface TimeoutParams

Properties

PropertyTypeDescription
abortSignal?AbortSignalThe abort signal to listen to.
shouldThrowOnAbort?booleanWhether to throw an error if the abort signal is aborted.
timeoutInMillisecondsnumberThe timeout period in milliseconds.

Links to this page: