Page Contents

Home > @loopback/context > InterceptedInvocationContext > loadInterceptors

InterceptedInvocationContext.loadInterceptors() method

Load all interceptors for the given invocation context. It adds interceptors from possibly three sources: 1. method level @intercept 2. class level @intercept 3. global interceptors discovered in the context

Signature:

loadInterceptors(): InterceptorOrKey[];

Returns:

InterceptorOrKey[]