42 explicit CallPromise(std::chrono::steady_clock::time_point deadline)
64 [[nodiscard]] std::shared_ptr<CallFutureImpl>
future() const noexcept {
Definition of CallFutureImpl class.
Definition of CallResult class.
Class of internal implementation of future objects to get results of RPCs asynchronously.
std::shared_ptr< CallFutureImpl > future_
Future.
void set(messages::CallResult result)
Set a result.
std::shared_ptr< CallFutureImpl > future() const noexcept
Get the future.
void set(const Status &error)
Set an error.
CallPromise(std::chrono::steady_clock::time_point deadline)
Constructor.
Class of results of methods.
Namespace of internal implementations.
Definition of Status class.