Page Contents

Home > @loopback/core > LifeCycleObserver > init

LifeCycleObserver.init() method

The method to be invoked during init. It will only be called at most once for a given application instance.

Signature:

init?(...injectedArgs: unknown[]): ValueOrPromise<void>;

Parameters

Parameter Type Description
injectedArgs unknown[]  

Returns:

ValueOrPromise<void>