Page Contents

Home > @loopback/context > ContextObserverFn

ContextObserverFn type

Listen on bind, unbind, or other events

Signature:

export declare type ContextObserverFn = (eventType: ContextEventType, binding: Readonly<Binding<unknown>>, context: Context) => ValueOrPromise<void>;