Wait for an event listener to resolve. This is useful when you have registered a listener for a specific event (like a network request) and want to wait for that event to complete before proceeding with the next steps. If the listener does not resolve within the specified timeout, this step will fail.

Inputs

Listener key
string
required

The unique key of the listener you want to wait for. This key should match the one used in the register request listener step.

Configs

Timeout
string

The maximum time to wait for the listener to resolve, in seconds. If the listener does not resolve within this time, the step will fail. Default is 10 seconds.

Save to an environment variable
string

The name of the environment variable where the result of the listener will be saved. This is useful if you need to use a javascript step to validate the response.