Reference

createServerActionHandler

Creates a request handler that validates and invokes registered server actions.

Signature

function createServerActionHandler(actions: ServerActionRegistry, options: ServerActionHandlerOptions): (request: Request): Promise<Response>