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.

Return: %TRUE if the task could be paused.

MT safe.

class Task
bool
pause
()

Meta