Files
klz-cables.com/.pnpm-store/v10/files/dc/99933a6a626112339fa58fd9bf6f1957552bb67a005c1b9ddfaf0e5d50cd10ccbcb47cbaed6c07d8408d1ca43724eaafd90e8d6483cdbbb4c1e4976aa99706
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

11 lines
754 B
Plaintext

export declare function abortAndIgnore(abortController: AbortController): void;
/**
* Use this function when an effect is triggered multiple times over and you want to cancel the previous effect.
* It will abort the previous effect and create a new AbortController for the next effect.
* Important: You must also _reset_ the `abortControllerRef` after the effect is done, otherwise the next effect will be aborted immediately.
* For example, run `abortControllerRef.current = null` in a `finally` block or after an awaited promise.
* @param abortControllerRef
* @returns {AbortController}
*/
export declare function handleAbortRef(abortControllerRef: React.RefObject<AbortController>): AbortController;
//# sourceMappingURL=abortAndIgnore.d.ts.map