---
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) &gt; [@loopback/context](./context.md) &gt; [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>;
```

