Upstash · Function
serve
Use serve() to define an endpoint that runs a workflow. Pass it an async route function and optional workflow settings.
Last updated
Syntax
serve(routeFunction, options?)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Workflow ContextAdvanced OptionsFailure FunctionWorkflow Steps