Options
All
  • Public
  • Public/Protected
  • All
Menu

Default implementation of ManagedRequest for managing HTTP request lifecycle and cancellation.

Hierarchy

  • ControlledHttpRequest

Implements

Index

Constructors

Properties

abortedInternal: boolean = false
controller: AbortController = ...
createdAt: number = ...
remarks
  • Timestamp indicating when the request was created.
id: string = ...
remarks
  • Unique identifier for tracking the request instance.
logger: Logger
requestType: RequestControlMode
remarks
  • Defines how the request should be controlled. Determines whether the request should be delayed, aborted, or both when multiple requests are triggered.

Accessors

  • get aborted(): boolean
  • get signal(): AbortSignal

Methods

  • abort(reason?: string): void

Generated using TypeDoc