Contents

disconnectTimeout

A time interval that expresses how long the session waits before it disconnects a nonresponsive peer.

Declaration

var disconnectTimeout: TimeInterval { get set }

Discussion

The timeout is the waiting period before disconnecting a peer from the session. If a peer is disconnected, the delegate’s session(_:peer:didChange:) method is called.

See Also

Working with Connected Peers