Commit 3864b685 authored by Kenton Varda's avatar Kenton Varda

Another KJ_WARN_UNUSED_RESULT.

parent bb386f1b
......@@ -275,7 +275,7 @@ public:
// Wait for a message to be received and return it. If the read stream cleanly terminates,
// return null. If any other problem occurs, throw an exception.
virtual kj::Promise<void> shutdown() = 0;
virtual kj::Promise<void> shutdown() KJ_WARN_UNUSED_RESULT = 0;
// Waits until all outgoing messages have been sent, then shuts down the outgoing stream. The
// returned promise resolves after shutdown is complete.
};
......
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