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

Method _onReceivedPartitionEnd

client/scripts/network.js:137–139  ·  view source on GitHub ↗
(offset)

Source from the content-addressed store, hash-verified

135 }
136
137 _onReceivedPartitionEnd(offset) {
138 this.sendJSON({ type: 'partition-received', offset: offset });
139 }
140
141 _sendNextPartition() {
142 if (!this._chunker || this._chunker.isFileEnd()) return;

Callers 1

_onMessageMethod · 0.95

Calls 1

sendJSONMethod · 0.95

Tested by

no test coverage detected