Inngest · Function
step.sleep
step.sleep() pauses an Inngest function for a chosen duration without keeping the function process running. Inngest resumes the run after the delay and continues with the next step.
Last updated
Syntax
await step.sleep(id, duration);In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
step.sleepUntil()step.waitForEvent()step.run()