Connection.cancel

If the cancellation is effective, the current command will terminate early and return an error result (exception). If the cancellation fails (say, because the server was already done processing the command), then there will be no visible result at all.

class Connection
void
cancel
()

Meta