MCPcopy
hub / github.com/SnapDrop/snapdrop / _dequeueFile

Method _dequeueFile

client/scripts/network.js:113–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111 }
112
113 _dequeueFile() {
114 if (!this._filesQueue.length) return;
115 this._busy = true;
116 const file = this._filesQueue.shift();
117 this._sendFile(file);
118 }
119
120 _sendFile(file) {
121 this.sendJSON({

Callers 2

sendFilesMethod · 0.95
_onTransferCompletedMethod · 0.95

Calls 1

_sendFileMethod · 0.95

Tested by

no test coverage detected