@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
65 lines (34 loc) • 1.3 kB
Markdown
---
lang: en
title: 'API docs: context.genericinterceptorchain.invokeinterceptors'
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.genericinterceptorchain.invokeinterceptors.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [GenericInterceptorChain](./context.genericinterceptorchain.md) > [invokeInterceptors](./context.genericinterceptorchain.invokeinterceptors.md)
## GenericInterceptorChain.invokeInterceptors() method
Invoke the interceptor chain
**Signature:**
```typescript
invokeInterceptors(finalHandler?: Next): ValueOrPromise<InvocationResult>;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
finalHandler
</td><td markdown="1">
[Next](./context.next.md)
</td><td markdown="1">
_(Optional)_
</td></tr>
</tbody></table>
**Returns:**
[ValueOrPromise](./context.valueorpromise.md)<!-- --><[InvocationResult](./context.invocationresult.md)<!-- -->>