MCPcopy Create free account
hub / github.com/codemix/graph / untilTraverser

Method untilTraverser

packages/graph/src/Steps.ts:3665–3674  ·  view source on GitHub ↗

* The traverser that will stop the repeat when matched.

()

Source from the content-addressed store, hash-verified

3663 * The traverser that will stop the repeat when matched.
3664 */
3665 protected get untilTraverser() {
3666 if (this.#untilTraverser === undefined) {
3667 const { untilSteps } = this.config;
3668 if (untilSteps !== undefined && untilSteps.length > 0) {
3669 return (this.#untilTraverser = createTraverser(untilSteps));
3670 }
3671 return undefined;
3672 }
3673 return this.#untilTraverser;
3674 }
3675
3676 public *traverse(
3677 source: GraphSource<any>,

Callers

nothing calls this directly

Calls 1

createTraverserFunction · 0.85

Tested by

no test coverage detected