Class to set results of RPCs.
More...
#include <msgpack_rpc/clients/impl/call_promise.h.h>
Class to set results of RPCs.
Definition at line 35 of file call_promise.h.h.
◆ CallPromise()
msgpack_rpc::clients::impl::CallPromise::CallPromise |
( |
std::chrono::steady_clock::time_point | deadline | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
[in] | deadline | Deadline of the result of the RPC. |
Definition at line 42 of file call_promise.h.h.
◆ future()
std::shared_ptr< CallFutureImpl > msgpack_rpc::clients::impl::CallPromise::future |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ set() [1/2]
void msgpack_rpc::clients::impl::CallPromise::set |
( |
const Status & | error | ) |
|
|
inline |
◆ set() [2/2]
◆ future_
std::shared_ptr<CallFutureImpl> msgpack_rpc::clients::impl::CallPromise::future_ |
|
private |
The documentation for this class was generated from the following file: