task::is_done Method

Determines if the task is completed.

bool is_done() const;

Return Value

True if the task has completed, false otherwise.

Remarks

The function returns true if the task is completed or canceled (with or without user exception).

Requirements

Header: pplxtasks.h

Namespace: pplx

See Also

Reference

task Class