Async
SetTimeout
Spawns an asynchronous task (a wrapper over SchelduleTask
), that evaluates an expression once
SetTimeout[expr_, interval_Real] _TaskObject
A symbol has HoldFirst
attribute. An interval
is in milliseconds. To cancel it, use
CancelTimeout[_TaskObject]
SetInterval
Spawns an asynchronous task (a wrapper over SchelduleTask
), that evaluates an expression every interval
milliseconds
SetInterval[expr_, interval_Real] _TaskObject
A symbol has HoldFirst
attribute. To cancel this task use
TaskRemove[_TaskObject]
or
CancelInterval[_TaskObject]