asyncCancel method
Best-effort cancellation for an async request.
Implementation
bool asyncCancel(int requestId) {
if (!_bindings.supportsAsyncExecuteApi) {
return false;
}
final code = _bindings.odbc_async_cancel(requestId);
return code == 0;
}