MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / globalInterceptor

Function globalInterceptor

packages/context/src/interceptor.ts:161–163  ·  view source on GitHub ↗
(group?: string, ...specs: BindingSpec[])

Source from the content-addressed store, hash-verified

159 * @param specs - Extra binding specs
160 */
161export function globalInterceptor(group?: string, ...specs: BindingSpec[]) {
162 return injectable(asGlobalInterceptor(group), ...specs);
163}
164
165/**
166 * Interceptor function to intercept method invocations

Callers 3

MyAuthInterceptorClass · 0.85
spy.interceptor.tsFile · 0.85

Calls 2

injectableFunction · 0.90
asGlobalInterceptorFunction · 0.85

Tested by

no test coverage detected