We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efd57ff commit eb6167aCopy full SHA for eb6167a
src/server/graceful.rs
@@ -17,6 +17,7 @@ use pin_project_lite::pin_project;
17
use tokio::sync::watch;
18
19
/// A graceful shutdown utility
20
+#[derive(Clone)]
21
pub struct GracefulShutdown {
22
tx: watch::Sender<()>,
23
}
0 commit comments