Skip to content

Commit 5577147

Browse files
authored
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
1 parent e5e078d commit 5577147

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Sources/Lifecycle/Lifecycle.swift

+1-4
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,7 @@ public struct ServiceLifecycle {
187187
private let configuration: Configuration
188188

189189
/// The underlying `ComponentLifecycle` instance
190-
///
191-
/// Designed for composition purposes, mainly for frameworks that need to offer both top-level start/stop functionality and composition into larger systems.
192-
/// In other words, should not be used outside the context of building an Application framework.
193-
public let underlying: ComponentLifecycle
190+
private let underlying: ComponentLifecycle
194191

195192
/// Creates a `ServiceLifecycle` instance.
196193
///

0 commit comments

Comments
 (0)