# IInterceptor Interface

Module
import { IInterceptor } from "@tsed/di"
Source/packages/di/src/interfaces/IInterceptor.ts

# Overview

interface IInterceptor {
    aroundInvoke?(context: IInterceptorContext<any>, options?: any): any;
    intercept?(context: IInterceptorContext<any>, next?: IInterceptorNextHandler): any;
}

# Members

aroundInvoke?(context: IInterceptorContext<any>, options?: any): any

intercept?(context: IInterceptorContext<any>, next?: IInterceptorNextHandler): any