UNPKG

solid-awesome-hooks

Version:
13 lines (12 loc) 369 B
import { type Owner } from "solid-js"; type Options = { reason?: any; fallbackOwner?: Owner | null; }; /** * Returns AbortController instance * Can be useful inside createResource * If there's no owner scope abort() won't be called */ export declare const useAbortController: ({ reason, fallbackOwner }?: Options) => AbortController; export {};