θcreateAbortHandle

Creates and returns an AbortHandle object that wraps an AbortController, providing a resettable AbortSignal. This allows you to use the signal for event listeners, fetch requests, or other cancellable operations, and then reset the underlying AbortController to get a fresh signal without needing to create a new wrapper object.

Signature

θcreateAbortHandle(): AbortHandle

Returns

AbortHandle