Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/SnapDrop/snapdrop
/ _onPeerLeft
Method
_onPeerLeft
client/scripts/ui.js:38–42 ·
view source on GitHub ↗
(peerId)
Source
from the content-addressed store, hash-verified
36
}
37
38
_onPeerLeft(peerId) {
39
const
$peer = $(peerId);
40
if
(!$peer)
return
;
41
$peer.remove();
42
}
43
44
_onFileProgress(progress) {
45
const
peerId = progress.sender || progress.recipient;
Callers
1
constructor
Method · 0.95
Calls
1
$
Function · 0.85
Tested by
no test coverage detected