pub type ReadyWaker = Arc<dyn Fn() + Send + Sync + 'static>;Expand description
Called when a fetch completes, so an embedder knows to drain the queue.
Without one, a response lands in the queue and nothing asks for it until something else happens to wake the event loop, which in a GUI means “until the user moves the mouse”. That is not a slow fetch, it is a hung one.
Aliased Type§
pub struct ReadyWaker { /* private fields */ }