Skip to content
masterclass Buddy

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.

Subscribe
  • step.sleepUntil()
  • step.waitForEvent()
  • step.run()

Source: step.sleep() | Pause a Function. Checked 2026-11-03.