Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
import { NextFunction, Request, Response } from "express";
export type AsyncHandler = (req: Request, res: Response, next: NextFunction) => Promise<void>;
export function asyncHandler(handler: AsyncHandler) {
return (req: Request, res: Response, next: NextFunction) => {
handler(req, res, next).catch(next);
};
}