Function
runPipeline
(
input: LoadingInput,
ctx: PipelineContext,
store?: Store,
)
Source from the content-addressed store, hash-verified
| 53 | } |
| 54 | |
| 55 | export 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). */ |
| 69 | export function collectPipeline( |