mirror of
https://github.com/swift-server/swift-service-lifecycle
synced 2026-11-26 04:57:53 +00:00
motivation: finalize naming and API towards 1.0 changes: * rename package to swift-service-boostrap * rename modules to Lifecycle and LifecycleNIOCompat * create top level namespace named Lifecycle * rename LifecycleItem to LifecycleTask, with Lifecycle.Task typealias * define top-level type called ServiceLifecycle where signal handling and backtraces are handled * rename Lifecycle to ComponentLifecycle and conform it to Lifecycle.Task so that lifecycles can be nested * change shutdown to return an error to better conform with Lifecycle.Task api * improve logging * improve API docs * adjust tests