Connectum API Reference / @connectum/events / types / EventMiddlewareNext
Type Alias: EventMiddlewareNext()
EventMiddlewareNext = (
updatedEvent?) =>Promise<void>
Defined in: packages/events/src/types.ts:220
Event middleware next function.
Optionally accepts an updated event to replace the current one in the pipeline (e.g., retry middleware sets a new attempt number without mutating the readonly original).
Parameters
updatedEvent?
Returns
Promise<void>
