FHIRKit Client - v2.0.2
    Preparing search index...

    Interface SignalLike

    Minimal duck-typed AbortSignal interface. Accepts both the native AbortSignal and polyfills (e.g. node-abort-controller) whose signal class is not an instanceof the native AbortSignal.

    interface SignalLike {
        aborted: boolean;
        reason?: unknown;
        addEventListener(
            type: "abort",
            listener: () => void,
            options?: { once?: boolean },
        ): void;
    }
    Index

    Properties

    Methods

    Properties

    aborted: boolean
    reason?: unknown

    Methods

    • Parameters

      • type: "abort"
      • listener: () => void
      • Optionaloptions: { once?: boolean }

      Returns void