Module thread

Source

Functionsยง

spawn
Spawn a thread with the provided scheduler and params.
try_spawn
Spawn a thread and attempt to set the schedule of the current thread. The result of setting the scheduler is provided to the thread closure as an argument.