sync_point

Function wait_timeout

source
pub async fn wait_timeout(
    sync_point: SyncPoint,
    dur: Duration,
) -> Result<(), Error>
Expand description

Wait for a sync point to be reached with timeout.

If the sync point is reached before this call, it will consume this event and return immediately.