Preparing search index...

    Function abortFetches

    • Aborts in-flight fetches and forgets them as pending.

      Parameters

      • abortControllers: Map<string, AbortController>

        Map of URL to AbortController for pending fetches

      • pendingUrls: Set<string>

        Set of currently pending recipe URLs

      • shouldAbort: (url: string) => boolean = ...

        Selects which fetches to abort (default: all)

      Returns void