MCPcopy Create free account
hub / github.com/ShareDropio/sharedrop / _cancelFileTransfer

Function _cancelFileTransfer

app/components/peer-widget.js:107–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105 },
106
107 _cancelFileTransfer() {
108 const { peer } = this;
109
110 peer.setProperties({
111 'transfer.file': null,
112 state: 'idle',
113 });
114 },
115
116 _sendFileTransferResponse(response) {
117 const { webrtc } = this;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected