Page Contents

Home > @loopback/core > lifeCycleObserverFilter

lifeCycleObserverFilter() function

Find all life cycle observer bindings. By default, a binding tagged with CoreTags.LIFE_CYCLE_OBSERVER. It’s used as BindingFilter.

Signature:

export declare function lifeCycleObserverFilter(binding: Readonly<Binding>): boolean;

Parameters

Parameter Type Description
binding Readonly<Binding>  

Returns:

boolean