Task.getCompleted

Gets the value of #GTask:completed. This changes from false to true after the task’s callback is invoked, and will return false if called from inside the callback.

class Task
bool
getCompleted
()

Return Value

Type: bool

true if the task has completed, false otherwise.