Function poll_later

Source
pub fn poll_later<T>(cx: &mut Context<'_>, timeout: Duration) -> Poll<T>
Expand description

Ask the runtime to poll timeout later.

This is a helper function for things that do not yet support notification when they’re ready and require continuous polling with timeouts.