wait For Completion
Blocks until the task is complete.
Blocks until the task is complete or times out.
Return
true if the task completed (has a result, an error, or was cancelled). false otherwise.
Blocks until the task is complete.
Blocks until the task is complete or times out.
true if the task completed (has a result, an error, or was cancelled). false otherwise.