Search Docs
Loading...
Skip to content

Type Alias: AbortOptions

type AbortOptions = object;

Options of an engine call that an abort signal can stop.

Properties#

Property Type Description
abortSignal? AbortSignal Stops the call when it aborts. The promise then rejects with Error('AbortSignal received'), and the engine stops the work of the call. A download goes on while a block or another call needs the same file. A signal that aborted before the call rejects at once and starts nothing.