Skip to main content

fetch_all

Function fetch_all 

Source
pub async fn fetch_all(sources: &[FeedSource]) -> Result<Vec<FeedEntry>>
Expand description

Fetch multiple feed sources concurrently and merge the results.

Results are deduplicated by URL and sorted newest-first when dates are available. Feeds that fail individually are skipped (not propagated as errors).

A single reqwest::Client is shared across all concurrent fetches within this call, reusing connection pools and TLS state.