wait_for_ended
wait_for_ended
Wait for the call to reach the ended state. This is a convenience method
equivalent to waiting for a calling.call.state event with call_state == "ended".
Parameters
timeout
Maximum seconds to wait. Raises asyncio.TimeoutError if exceeded. None
waits indefinitely.
Returns
RelayEvent — The state-change event indicating the call has ended.