Preparing search index...

    Function getBufferRecipesNeedingFetch

    • Filters recipes that need image fetching within the buffer zone. Excludes recipes that already have images, are visible, or are already fetched/pending.

      Parameters

      • recipes: DiscoveredRecipe[]

        Array of all recipes

      • bufferBounds: BufferBounds

        The buffer zone boundaries

      • visibleUrls: Set<string>

        Set of currently visible recipe URLs

      • fetchedUrls: Set<string>

        Set of already fetched recipe URLs

      • pendingUrls: Set<string>

        Set of currently pending recipe URLs

      Returns DiscoveredRecipe[]

      Array of recipes in buffer zone that need image fetching