Releases: Finomnis/tokio-graceful-shutdown
Releases · Finomnis/tokio-graceful-shutdown
v0.4.3
v0.4.2
v0.4.1
Breaking Changes
- Rename
Toplevel::wait_for_shutdown
toToplevel::handle_shutdown_requests
to make it clearer what the purpose of this function is - Implement partial shutdown API
- Change return value of
SubsystemHandle::create()
toNestedSubsystem
- Add
SubsystemHandle::perform_partial_shutdown(NestedSubsystem)
- Add
NestedSubsystem
struct andPartialShutdownError
enum
- Change return value of
v0.3.2
v0.3.1
v0.3.0
Breaking changes
- Rewrite the API to now use async lambdas or coroutines instead of async traits
Using coroutines/lambdas simplifies most use cases a lot without any reduction in capability.
More information about how to use subsystem structs as in the previous API can be seen in the examples.