Interceptor
@agros/tools / Interceptor
Interface: Interceptor
Table of contents
Properties
Properties
intercept
• intercept: <T, R>(context?: T, ...args: any[]) => R | Promise<R>
Type declaration
▸ <T, R>(context?, ...args): R | Promise<R>
Type parameters
| Name | Type |
|---|---|
T | any |
R | undefined |
Parameters
| Name | Type |
|---|---|
context? | T |
...args | any[] |
Returns
R | Promise<R>