MCPcopy
hub / github.com/opentrace/opentrace / runPipeline

Function runPipeline

ui/src/components/pipeline/pipeline.ts:55–66  ·  view source on GitHub ↗
(
  input: LoadingInput,
  ctx: PipelineContext,
  store?: Store,
)

Source from the content-addressed store, hash-verified

53}
54
55export function* runPipeline(
56 input: LoadingInput,
57 ctx: PipelineContext,
58 store?: Store,
59): Generator<PipelineEvent> {
60 const inner = wrapWithSummaries(corePipeline(input, ctx));
61 if (store) {
62 yield* saving(inner, store);
63 } else {
64 yield* inner;
65 }
66}
67
68/** Collect all events and return aggregated nodes/relationships (convenience for tests). */
69export function collectPipeline(

Callers 5

pipeline.test.tsFile · 0.90
github.test.tsFile · 0.90
runAndCollectFunction · 0.90
runAndLogFunction · 0.90
collectPipelineFunction · 0.85

Calls 3

wrapWithSummariesFunction · 0.90
corePipelineFunction · 0.85
savingFunction · 0.85

Tested by 2

runAndCollectFunction · 0.72
runAndLogFunction · 0.72