Page Contents

Home > @loopback/core > LifeCycleObserverRegistry > (constructor)

LifeCycleObserverRegistry.(constructor)

Constructs a new instance of the LifeCycleObserverRegistry class

Signature:

constructor(observersView: ContextView<LifeCycleObserver>, options?: LifeCycleObserverOptions);

Parameters

Parameter Type Description
observersView ContextView<LifeCycleObserver>  
options LifeCycleObserverOptions