Expand description
Turn an async function to a sync non-blocking function.
Functionsยง
- non_
blocking - Attempt to resolve a
future
without blocking. ReturnWouldBlock
error if the future will block. Return the resolved value otherwise. - non_
blocking_ result - Similar to
non_blocking
, but unwraps a level ofResult
.