fn passive<T>(
req: impl Debug + Send + 'static,
fut: impl Future<Output = Option<T>> + Send + 'static,
) -> Fetch<T>where
T: Send + 'static,
Expand description
Turn a fallible passive fetch future into an infallible “fetch”.
Basically, we ignore failures due to a channel sender being dropped, which should never happen.