Does hyper::Server's graceful shutdown include a mechanism to return a completion signal?

AFAIK a reasonable mechanism for graceful shutdown would be that a stop signal is sent to the context, AND after the shutdown the context sends a completion signal. For cases like stopping by pressing ctrl-c, without a completion signal, the whole application will not know when to stop, especially if there are contexts other than hyper::Server.

You know that shutdown has completed once the server future returns.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.