- expressHandler<
C extends ActionContext = ActionContext,
I extends ZodType<any, any, any, I> = ZodTypeAny,
O extends ZodType<any, any, any, O> = ZodTypeAny,
S extends ZodType<any, any, any, S> = ZodTypeAny,
>(
action: Action<I, O, S, ActionRunOptions<S>>,
opts?: { contextProvider?: ContextProvider<C, I> },
): express.RequestHandler Parameters
- action: Action<I, O, S, ActionRunOptions<S>>
Optional
opts: { contextProvider?: ContextProvider<C, I> }
Returns express.RequestHandler
Exposes provided flow or an action as express handler.