Other: Event Stream refactor.

Other: GRPCClient keeps track of the event stream status. [skip-ci]
Other: renamed StartEventStream to RunEventStream for clarity. [skip-ci]
This commit is contained in:
Xavier Michelon
2022-08-22 15:46:54 +02:00
committed by Jakub
parent 35d2cc9be7
commit 275a92ae93
13 changed files with 152 additions and 127 deletions

View File

@ -46,7 +46,7 @@ void EventStreamReader::run()
{
emit started();
grpc::Status const status = app().grpc().startEventStream();
grpc::Status const status = app().grpc().runEventStreamReader();
if (!status.ok())
throw Exception(QString::fromStdString(status.error_message()));