IO
io.waitForEvent()
io.waitForEvent()
waits for the next event to be emitted, and returns the event data
Parameters
Should be a stable and unique cache key inside the run()
. See
resumability for more information.
Specify the options for the event to wait for.
Specify the options for the event to wait for.
Returns
The ID of the event that was emitted.
The name of the event that was emitted.
The payload of the event that was emitted.
The context of the event that was emitted.
The timestamp of the event that was emitted.
The account ID of the event that was emitted.
Was this page helpful?