Page Contents
Home > @loopback/core > LifeCycleObserverRegistry > (constructor)
LifeCycleObserverRegistry.(constructor)
Constructs a new instance of the LifeCycleObserverRegistry class
Signature:
constructor(context: Context, observersView: ContextView<LifeCycleObserver>, options?: LifeCycleObserverOptions);
Parameters
| Parameter | Type | Description |
|---|---|---|
| context | Context | |
| observersView | ContextView<LifeCycleObserver> | |
| options | LifeCycleObserverOptions | (Optional) |