Home > next-context > MiddlewareFunction
middleware function
Signature:
export type MiddlewareFunction = (context: NextContext, next: NextFunction) => Promise<any> | void;
References: NextContext, NextFunction
Home > next-context > MiddlewareFunction
middleware function
Signature:
export type MiddlewareFunction = (context: NextContext, next: NextFunction) => Promise<any> | void;
References: NextContext, NextFunction