macro_rules! spawn_cell {
($cell:expr, $body:expr $(,)?) => { ... };
}Expand description
Spawn a task using a Cell by taking its context, executing the provided
async block, and restoring the context before the block completes.
The macro uses the context’s default spawn configuration (supervised, shared executor with
blocking == false). If you need to mark the task as blocking or request a dedicated thread,
take the context via Cell::take and call the appropriate crate::Spawner methods before spawning.