Skip to content
masterclass Buddy

Inngest · Function

step.waitForEvent

Use step.waitForEvent() to pause a function until a matching event arrives or a timeout expires. It returns the event payload when successful and null when no event arrives in time.

Last updated

Syntax

step.waitForEvent(id, options): Promise<null | EventPayload>

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • step.waitForSignal
  • step.sleep
  • group.parallel()
  • eventType()

Source: Wait for event. Checked 2026-11-03.