Crate microasync_util

source ·

Modules

MicroAsync-Util provides some AsyncIO for Files, TCP, and UDP. These are provided by the ReadAsync and WriteAsync traits.

Structs

A future that runs a function in a new thread without blocking.
A very small async runtime, with support for adding more tasks as it runs. This uses a VecDeque internally.

Functions

Returns a DeferredFuture, which runs a computationally expensive task in a new thread.
This gets the currently running runtime. PANICS IF IT IS CALLED FROM OUTSIDE THE RUNTIME.