Waits for a callback to be received at the given endpoint.
For more information, see Wait using callbacks.
Arguments
Arguments | |
---|---|
callback |
A map object with a url field that stores the URL of the created endpoint. |
timeout |
The maximum request timeout in seconds (default: |
Returns
The callback request received.
Raised exceptions
Exceptions | |
---|---|
TimeoutError |
In case of a timeout. |
ValueError |
In case of invalid input values. |
TypeError |
In case of invalid input types. |