@loopback/docs
Version:
Documentation for LoopBack 4
23 lines (15 loc) • 709 B
Markdown
lang: en
title: 'API docs: context.genericinterceptororkey'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.context.genericinterceptororkey.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [GenericInterceptorOrKey](./context.genericinterceptororkey.md)
## GenericInterceptorOrKey type
Interceptor function or a binding key that resolves a generic interceptor function
<b>Signature:</b>
```typescript
export declare type GenericInterceptorOrKey<C extends Context = Context> = BindingAddress<GenericInterceptor<C>> | GenericInterceptor<C>;
```