Crate embassy_executor_macros
source ·Expand description
Attribute Macros§
- Creates a new
executorinstance and declares an application entry point for Cortex-M spawning the corresponding function body as an async task. - Creates a new
executorinstance and declares an application entry point for RISC-V spawning the corresponding function body as an async task. - Creates a new
executorinstance and declares an application entry point for STD spawning the corresponding function body as an async task. - Creates a new
executorinstance and declares an application entry point for WASM spawning the corresponding function body as an async task. - Declares an async task that can be run by
embassy-executor. The optionalpool_sizeparameter can be used to specify how many concurrent tasks can be spawned (default is 1) for the function.