Crate vexide_async

Crate vexide_async 

Source
Expand description

Tiny async runtime for vexide.

This crate contains an implementation of vexide’s async executor, which is driven by smol’s async_task crate. The executor is optimized for use on VEXos-based systems and supports spawning tasks and blocking on futures. It has a reactor to improve the performance of some futures (such as Sleep).

Re-exports§

pub use task::spawn;

Modules§

task
Asynchronous multitasking.
time
Utilities for tracking time.

Macros§

task_local
Declares task-local variables in LocalKeys of the same names.

Functions§

block_on
Blocks the current task until a return value can be extracted from the provided future.