cancel


Description:

public bool cancel ()

Requests cancellation.

Cancellation does not forcibly stop already running task but marks this future as cancelled if it is still pending.

Returns:

true when cancellation state was applied.