Page Contents

Home > @loopback/context > GenericInterceptorOrKey

GenericInterceptorOrKey type

Interceptor function or a binding key that resolves a generic interceptor function

Signature:

export declare type GenericInterceptorOrKey<C extends Context = Context> = BindingAddress<GenericInterceptor<C>> | GenericInterceptor<C>;