context.run
, each step can now take up to the maximum duration, as each step is a separate HTTP request containing data from previous steps.
As Upstash Workflow is built on top of QStash, the context
methods map to QStash features:
context.run
-> regular QStash callcontext.sleep
and context.sleepUntil
-> QStash’s delay featurecontext.call
-> QStash’s callback feature