@karmaniverous/smoz
    Preparing search index...

    Type Alias Handler<EventSchema, ResponseSchema, EventType>

    Handler: (
        event: ShapedEvent<EventSchema, EventType>,
        context: Context,
        options: HandlerOptions,
    ) => Promise<
        ResponseSchema extends z.ZodType ? z.infer<ResponseSchema> : unknown,
    >

    Business handler signature used by SMOZ.

    Type Parameters

    • EventSchema extends z.ZodType | undefined
    • ResponseSchema extends z.ZodType | undefined
    • EventType

    Type Declaration