commitTransaction method
Commits the transaction identified by txnId in the worker.
Implementation
Future<bool> commitTransaction(int txnId) async {
final r = await _sendRequest<BoolResponse>(
CommitTransactionRequest(_nextRequestId(), txnId),
);
return r.value;
}