Function: events.await_callback

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

float

The maximum request timeout in seconds (default: 43200.0).

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.