MCPcopy
hub / github.com/laurent22/joplin / push

Method push

packages/lib/TaskQueue.js:20–28  ·  view source on GitHub ↗
(id, callback)

Source from the content-addressed store, hash-verified

18 }
19
20 push(id, callback) {
21 if (this.stopping_) throw new Error('Cannot push task when queue is stopping');
22
23 this.waitingTasks_.push({
24 id: id,
25 callback: callback,
26 });
27 this.processQueue_();
28 }
29
30 processQueue_() {
31 if (this.processingQueue_ || this.stopping_) return;

Callers 15

mainFunction · 0.45
createChangeLogFunction · 0.45
processReleasesFunction · 0.45
mainFunction · 0.45
gitLogFunction · 0.45
filterLogsFunction · 0.45
formatCommitMessageFunction · 0.45
createChangeLogFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
createPostFileFunction · 0.45
contributorTableFunction · 0.45

Calls 1

processQueue_Method · 0.95

Tested by 4

initTestStateFunction · 0.36
goToNoteFunction · 0.36
createExpectedStateFunction · 0.36
getIdsFunction · 0.36