Function kernel::forth::spawn_forth_task
source · async fn spawn_forth_task(forth: &mut Forth<MnemosContext>) -> Result<(), Error>
Expand description
Binding for Kernel::spawn()
Spawns a new Forth task that inherits from this task’s dictionary. The task will begin executing the provided function address.
Call: XT spawn
.
Return: the task ID of the spawned Forth task.