mirror of
https://github.com/swift-server/swift-service-lifecycle
synced 2026-11-28 05:14:32 +00:00
make the underlying component lifecycle private again (#91)
* make the underlying component lifecycle private again motivation: there is no need to explose the underlying component lifecycle, since there are better composition solutions changets: make ServiceLifecycle::underlying private (again) * fixup
This commit is contained in:
1 parent
e5e078d534
commit
5577147e4e
1 file changed
+1
-4
@@ -187,10 +187,7 @@ public struct ServiceLifecycle {
|
||||
private let configuration: Configuration
|
||||
|
||||
/// The underlying `ComponentLifecycle` instance
|
||||
///
|
||||
/// Designed for composition purposes, mainly for frameworks that need to offer both top-level start/stop functionality and composition into larger systems.
|
||||
/// In other words, should not be used outside the context of building an Application framework.
|
||||
public let underlying: ComponentLifecycle
|
||||
private let underlying: ComponentLifecycle
|
||||
|
||||
/// Creates a `ServiceLifecycle` instance.
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user