Skip to main content

collect_fetch_replies

Function collect_fetch_replies 

Source
pub fn collect_fetch_replies(
    fetcher: Res<'_, FetchRegistry>,
    pending: ResMut<'_, PendingFetchReplies>,
)
Expand description

Move finished HTTP replies (marshalled back from the worker threads) off the channel into PendingFetchReplies, and record each for the devtools network pane. Host-neutral and registered once, so a reply is offered to every active host rather than taken by whichever ran first.