Skip to main content

Module test_executor

Module test_executor 

Source
Expand description

Single-threaded std executor for tests (test_harness feature).

Lets #[task::test] and test helpers run without any platform crate. Embassy’s platform-std provides the pender that wakes Executor.

Structs§

Executor
A std executor that Executor::run until Executor::stop is called.

Functions§

new_thread_executor
Start an executor on a new thread and register it with manager.