function onLifecycleUsed view code
Called when a root uses a lifecycle. The listener callback receives the root along with the used lifecycle
Parameters
listener: (root: Root, lifecycle: Lifecycle) -> ()
Fired when a root uses a provider. The listener callback receives the root along with the used lifecycle.
Returns
() -> ()
A callback that when called removes the listener.