fetch_news_feed

Function fetch_news_feed 

Source
pub async fn fetch_news_feed<HS, HV, HC>(
    ctx: NewsFeedContext<'_, HS, HV, HC>,
) -> Result<Vec<NewsFeedItem>, Box<dyn Error + Send + Sync>>
where HS: BuildHasher + Send + Sync + 'static, HV: BuildHasher + Send + Sync + 'static, HC: BuildHasher + Send + Sync + 'static,
Expand description

ยงErrors

  • Network failures fetching sources
  • JSON parse errors from upstream feeds