disconnected
disconnected
- disconnected():
Promise<Call>- See Call for more details.
Call this method after connecting a peer (e.g., using connect, connectPhone, or connectSip) to wait until the peer disconnects.
This is equivalent to calling peer.waitFor("ended") on the connected peer.
Returns
Promise<Call> - See Call for more details.