Type alias DisposableScope

DisposableScope: {
    signal: AbortSignal | undefined;
    isCanceled: (() => boolean);
    getCancelationError: (() => unknown);
    throwIfCanceled: (() => void);
}

Type declaration

  • signal: AbortSignal | undefined
  • isCanceled: (() => boolean)
      • (): boolean
      • Returns boolean

  • getCancelationError: (() => unknown)
      • (): unknown
      • Returns unknown

  • throwIfCanceled: (() => void)
      • (): void
      • Returns void

Generated using TypeDoc