Task.pause

Pauses @task. This method can also be called on a task in the stopped state, in which case a thread will be started and will remain in the paused state. This function does not wait for the task to complete the paused state.

class Task
bool
pause
()

Return Value

Type: bool

%TRUE if the task could be paused.

MT safe.

Meta