Connection.asyncCancel

Requests that a task be cancelled. This operation may of may not have any effect depending on the task's status, even if it returns true. If it returns false, then the task has not been cancelled.

class Connection
bool
asyncCancel
(
uint taskId
)

Parameters

taskId uint

Return Value

Type: bool

TRUE if no error occurred

Throws