Upstash · Function
context.run
context.run runs custom business logic as a workflow step and returns a Promise. Await calls in order for serial execution, or combine multiple promises for parallel execution.
Last updated
Syntax
context.run(stepName, stepFunction, options?)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
context.sleepcontext.sleepUntilcontext.callcontext.waitForEventWorkflow retriesParallel steps