CreateAbortablePromiseOptions interface

Options for the createAbortablePromise function.

Extends

Properties

cleanupBeforeAbort

A function to be called if the promise was aborted

Inherited Properties

abortErrorMsg

The abort error message associated with containing operation.

abortSignal

The abortSignal associated with containing operation.

Property Details

cleanupBeforeAbort

A function to be called if the promise was aborted

cleanupBeforeAbort?: () => void

Property Value

() => void

Inherited Property Details

abortErrorMsg

The abort error message associated with containing operation.

abortErrorMsg?: string

Property Value

string

Inherited From AbortOptions.abortErrorMsg

abortSignal

The abortSignal associated with containing operation.

abortSignal?: AbortSignalLike

Property Value

Inherited From AbortOptions.abortSignal