Removes a specific lifecycle callback or all callbacks for a lifecycle state.
The lifecycle state to remove the callback from.
Optional
cbFn: LifecycleCallbackThe specific callback function to remove. If not provided, all callbacks for the state will be removed.
Registers a lifecycle callback for a specific lifecycle state.
The lifecycle state to register the callback for.
The callback function to execute when the lifecycle state is triggered.
Generated using TypeDoc
Interface for managing lifecycle callbacks.