Amazon Vinyl
    Preparing search index...

    An Abort instance emits an 'abort' event when aborted.

    A native AbortController is encapsulated if the platform supports it, allowing for fetch cancellation.

    Hierarchy (View Summary)

    Implements

    Index
    logPrefix: string = ...

    A string prefix for all log statements made by this target.

    • get "[toStringTag]"(): string

      Returns string

    • Sets to the aborted state with the given reason, and emits an 'abort' event. If this signal is already aborted, this will do nothing.

      Parameters

      • reason: Error = ...

      Returns void

    • Dispatches an event.

      Type Parameters

      • K extends "abort"

      Parameters

      • type: K

        The key of the event within EventMap

      • event: AbortEventMap[K]

        If the passed event is read-only, then it may be re-used/cached. Otherwise, it should be a new event object every dispatch. If no target property is set on the event, the target will be set to this host.

      Returns void