Function libp2p_rs::runtime::task::sleep[][src]

pub async fn sleep(dur: Duration)

Sleeps for the specified amount of time.