Crate microasync_util
Source - io
- MicroAsync-Util provides some AsyncIO for Files, TCP, and UDP. These are provided by the
ReadAsync and WriteAsync traits.
- DeferredFuture
- A future that runs a function in a new thread without blocking.
- QueuedRuntime
- A very small async runtime, with support for adding more tasks as it runs. This uses a VecDeque
internally.
- Timer
- defer
- Returns a DeferredFuture, which runs a computationally expensive task in a new thread.
- get_current_runtime
- This gets the currently running runtime. PANICS IF IT IS CALLED FROM OUTSIDE THE RUNTIME.
- wait
- wait_ms