Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AbortController

The AWS SDK uses a Controller/Signal model to allow for cooperative cancellation of asynchronous operations. When initiating such an operation, the caller can create an AbortController and then provide linked signal to subtasks. This allows a single source to communicate to multiple consumers that an action has been aborted without dictating how that cancellation should be handled.

see

https://developer.mozilla.org/en-US/docs/Web/API/AbortController

Hierarchy

  • AbortController

Index

Properties

Methods

Properties

Readonly signal

signal: AbortSignal

An object that reports whether the action associated with this {AbortController} has been cancelled.

Methods

abort

  • abort(): void
  • Declares the operation associated with this AbortController to have been cancelled.

    Returns void