disconnectFromAllPeers() Disconnects the session from all connected peers. Declarationfunc disconnectFromAllPeers() See AlsoWorking with Connected PeerssetDataReceiveHandler(_:withContext:)send(_:toPeers:with:)sendData(toAllPeers:with:)disconnectTimeoutdisconnectPeer(fromAllPeers:)