rvx
Version:
A signal based rendering library
9 lines (8 loc) • 326 B
TypeScript
/**
* Create a new abort controller that aborts when the current lifecycle is disposed.
*/
export declare function useAbortController(reason?: unknown): AbortController;
/**
* Get an abort signal that aborts when the current lifecycle is disposed.
*/
export declare function useAbortSignal(reason?: unknown): AbortSignal;