MCPcopy Index your code
hub / github.com/SnapDrop/snapdrop / _dequeueFile

Method _dequeueFile

client/scripts/ui.js:247–257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

245 }
246
247 _dequeueFile() {
248 if (!this._filesQueue.length) { // nothing to do
249 this._busy = false;
250 return;
251 }
252 // dequeue next file
253 setTimeout(_ => {
254 this._busy = false;
255 this._nextFile();
256 }, 300);
257 }
258
259 _displayFile(file) {
260 const $a = this.$el.querySelector('#download');

Callers 1

hideMethod · 0.95

Calls 1

_nextFileMethod · 0.95

Tested by

no test coverage detected