MCPcopy Create free account
hub / github.com/pillarjs/multiparty / holdEmitQueue

Function holdEmitQueue

index.js:641–648  ·  view source on GitHub ↗
(self, eventEmitter)

Source from the content-addressed store, hash-verified

639}
640
641function holdEmitQueue(self, eventEmitter) {
642 var item = { cb: null, ee: eventEmitter, err: null }
643 self.emitQueue.push(item);
644 return function(cb) {
645 item.cb = cb;
646 flushEmitQueue(self);
647 };
648}
649
650function errorEventQueue(self, eventEmitter, err) {
651 var items = self.emitQueue.filter(function (item) {

Callers 4

maybeCloseFunction · 0.85
handlePartFunction · 0.85
handleFileFunction · 0.85
handleFieldFunction · 0.85

Calls 1

flushEmitQueueFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…