MCPcopy
hub / github.com/opentrace/opentrace / push

Method push

ui/src/job/eventChannel.ts:35–44  ·  ui/src/job/eventChannel.ts::EventChannel.push
(value: T)

Source from the content-addressed store, hash-verified

33 private err: unknown = null;
34
35 push(value: T): void {
36 if (this.closed) return;
37 if (this.waiting) {
38 const w = this.waiting;
39 this.waiting = null;
40 w.resolve({ value, done: false });
41 } else {
42 this.buffer.push(value);
43 }
44 }
45
46 close(): void {
47 if (this.closed) return;

Callers 15

startJobMethod · 0.95
startImportFileJobMethod · 0.95
addOnPostRunFunction · 0.80
addOnPreRunFunction · 0.80
___cxa_begin_catchFunction · 0.80
___cxa_rethrowFunction · 0.80
put_charFunction · 0.80

Calls

no outgoing calls

Tested by 13

runSpacingFunction · 0.64
processMethod · 0.64
readAllFilesFunction · 0.64
runAndCollectFunction · 0.64
readAllFilesFunction · 0.64
runAndLogFunction · 0.64
runScanningFunction · 0.64
registerNodeFunction · 0.64
registerClassFunction · 0.64
buildContentIndexFunction · 0.64
simulateFTSContentSearchFunction · 0.64