Instance Property
lifecycle
The lifecycle helper that this interactor delegates state and lifecycle plumbing to.
nonisolated var lifecycle: InteractorLifecycle { get }
Discussion
Conforming actors declare a single stored property:
nonisolated let lifecycle = InteractorLifecycle()
The default implementations of activate(), deactivate(), task(priority:_:), isActive, and isActiveStream all forward to this helper.
Note
This satisfies a public protocol requirement, so the declared property must be at least as accessible as the conforming interactor — internal for an internal type. It cannot be private or fileprivate. internal is the intended visibility: it keeps lifecycle out of your module’s public API, and you are not meant to call its methods directly.