Type alias DisposableScope
DisposableScope: {
getCancelationError: (() => unknown);
isCanceled: (() => boolean);
signal: AbortSignal | undefined;
throwIfCanceled: (() => void);
}
Type declaration
-
getCancelationError: (() => unknown)
-
- (): unknown
-
Returns unknown
-
isCanceled: (() => boolean)
-
- (): boolean
-
Returns boolean
-
signal: AbortSignal | undefined
-
throwIfCanceled: (() => void)