Expand description
Futures for shutdown signal Helper for shutdown signals
Re-exportsΒ§
use futures::FutureExt;πuse futures::channel::oneshot;πuse futures::future::FusedFuture;πuse std::pin::Pin;πuse std::task::Context;πuse std::task::Poll;π
StructsΒ§
- Shutdown
- Future that resolves when the shutdown event has fired
- Signal
- Shutdown signal that fires either manually or on drop by closing the channel
FunctionsΒ§
- signal
- Create a channel pair thatβs used to propagate shutdown event