Inngest · Class
InngestMiddleware
Inngest middleware adds shared behavior around requests, functions, steps, and event sends. It supports dependency injection, encryption, error reporting, and custom lifecycle hooks.
Last updated
Syntax
class MyMiddleware extends Middleware.BaseMiddleware { /* hooks */ }
const inngest = new Inngest({ id: "my-app", middleware: [MyMiddleware] });In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Middleware.BaseMiddlewareDependency injectionEncryption middlewareSentry middlewareonRunErroronFailurenamed steps