Skip to content
Snippets Groups Projects

F files

Merged Timm Fitschen requested to merge f-files into dev
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -310,7 +310,7 @@ auto Transaction::ExecuteAsynchronously() noexcept -> StatusCode {
handler_ = std::make_unique<UploadRequestHandler>(
&handler_, file_service.get(), &completion_queue, file_descriptor);
this->status = ProcessCalls();
if (this->status.GetCode() != StatusCode::SUCCESS) {
if (this->status.GetCode() != StatusCode::EXECUTING) {
return StatusCode::EXECUTING;
}
}
@@ -357,6 +357,9 @@ auto Transaction::ExecuteAsynchronously() noexcept -> StatusCode {
}
auto Transaction::WaitForIt() const noexcept -> TransactionStatus {
if (this->status.GetCode() != StatusCode::EXECUTING) {
return this->status;
}
bool set_error = false;
auto *responses = this->response->mutable_responses();
std::vector<std::unique_ptr<Entity>> entities;
Loading