@return the Task associated with this TaskCompletionSource.
()
| 560 | * @return the Task associated with this TaskCompletionSource. |
| 561 | */ |
| 562 | public Task<TResult> getTask() { |
| 563 | return Task.this; |
| 564 | } |
| 565 | |
| 566 | /** |
| 567 | * Sets the cancelled flag on the Task if the Task hasn't already been completed. |
no outgoing calls