Skip to main content

The getWaiters method retrieves all waiters that are currently listening for a given event.

A waiter represents a workflow run that is paused at a context.waitForEvent step and is waiting for the specified eventId.

Arguments#

eventIdstringrequired#

The identifier of the event to look up.

Response#

Returns a list of Waiter objects describing workflows that are waiting on the given event.

Waiterobject#

Usage#