@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
26 lines (17 loc) • 822 B
Markdown
---
lang: en
title: 'API docs: context.interceptor'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.interceptor.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [Interceptor](./context.interceptor.md)
## Interceptor interface
Interceptor function to intercept method invocations
<b>Signature:</b>
```typescript
export interface Interceptor extends GenericInterceptor<InvocationContext>
```
<b>Extends:</b> [GenericInterceptor](./context.genericinterceptor.md)<!-- --><[InvocationContext](./context.invocationcontext.md)<!-- -->>