# task_delay

Definition: | task_delay(atom delaytime)
Description: | Suspends a task for a short period, allowing other tasks to run in the meantime. delaytime : the duration of the delay in seconds and/or fractions of a second.
pwa/p2js: | Not supported.
Comments: | This procedure is similar to sleep(), but allows for other tasks to run by yielding on a regular basis. Like sleep(), its argument need not be an integer.
Implementation: | See builtins\VM\pTask.e (an autoinclude) for details of the actual implementation.
See Also: | sleep, task_yield, task_suspend