Skip to main content

within

Function within 

Source
pub async fn within<F: Future>(future: F) -> Option<F::Output>
Expand description

future’s output, or None once HANG_GUARD of real time passes first: a test waiting on the system fails instead of hanging, whatever clock the store under it reads.