Crate nonblocking

source ·
Expand description

Turn an async function to a sync non-blocking function.

Functions

Attempt to resolve a future without blocking. Return WouldBlock error if the future will block. Return the resolved value otherwise.
Similar to non_blocking, but unwraps a level of Result.