MCPcopy
hub / github.com/opentrace/opentrace / emptyEvent

Function emptyEvent

ui/src/job/browserJobService.ts:170–181  ·  view source on GitHub ↗

Build a default empty JobEvent shell (proto fields are always present).

()

Source from the content-addressed store, hash-verified

168
169/** Build a default empty JobEvent shell (proto fields are always present). */
170function emptyEvent(): JobEvent {
171 return {
172 kind: JobEventKind.JOB_EVENT_KIND_UNSPECIFIED,
173 phase: JobPhase.JOB_PHASE_UNSPECIFIED,
174 message: '',
175 result: undefined,
176 errors: [],
177 detail: undefined,
178 nodes: [],
179 relationships: [],
180 };
181}
182
183export class BrowserJobService implements JobService {
184 private store: GraphStore;

Callers 5

runMethod · 0.85
startJobMethod · 0.85
startImportFileJobMethod · 0.85
pollServerIndexJobMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected