Connection.asyncCancel

bool asyncCancel(uint taskId)

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.

Parameters

taskIda task ID returned by [gda.connection.Connection.asyncStatementExecute]

Returns

TRUE if no error occurred

Throws

[ConnectionException]