MCPcopy
hub / github.com/amark/gun / multiple

Function multiple

test/mocha.js:4139–4145  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

4137
4138 // called multiple times
4139 function multiple(err) {
4140 if (emitted) {
4141 return;
4142 }
4143 emitted = true;
4144 self.emit('error', err || new Error('done() called multiple times; stacktrace may be inaccurate'));
4145 }
4146
4147 // finished
4148 function done(err) {

Callers 1

doneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected