Module libp2p_rs::runtime::task[][src]

Structs

TaskHandle

Functions

block_on

Spawns a runtime and blocks the current thread on its result.

sleep

Sleeps for the specified amount of time.

spawn

Spawns a runtime.

timeout

Awaits a future or times out after a duration of time.