Commit d00891e1 authored by Dominik Lohmann's avatar Dominik Lohmann

Integrate review feedback

parent 8183b21b
......@@ -73,7 +73,7 @@ public:
make_message(std::forward<T>(x), std::forward<Ts>(xs)...));
}
/// Satisfies the promise by sending either an error or a non-erorr response
/// Satisfies the promise by sending either an error or a non-error response
/// message.
template <class T>
void deliver(expected<T> x) {
......@@ -106,7 +106,6 @@ public:
}
/// Satisfies the promise by sending an error response message.
/// For non-requests, nothing is done.
void deliver(error x);
/// Satisfies the promise by sending an empty message if this promise has a
......
......@@ -76,7 +76,7 @@ public:
return *this;
}
/// Satisfies the promise by sending either an error or a non-erorr response
/// Satisfies the promise by sending either an error or a non-error response
/// message.
template <class T>
void deliver(expected<T> x) {
......@@ -100,12 +100,6 @@ public:
return *this;
}
/// Satisfies the promise by sending an empty message if this promise has a
/// valid message ID, i.e., `async() == false`.
void deliver(unit_t x) {
promise_.deliver(x);
}
/// Returns whether this response promise replies to an asynchronous message.
bool async() const {
return promise_.async();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment