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:
tomer doron authored and GitHub committed 2021-03-18 09:12:50 +09:00
1 parent e5e078d534
commit 5577147e4e
1 file changed
+1 -4
+1 -4
View File
@@ -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.
///