MCPcopy Create free account
hub / github.com/Effect-TS/effect / constructor

Method constructor

packages/effect/src/Graph.ts:7639–7644  ·  view source on GitHub ↗
(
    visit: <U>(f: (index: T, data: N) => U) => Iterable<U>
  )

Source from the content-addressed store, hash-verified

7637 readonly visit: <U>(f: (index: T, data: N) => U) => Iterable<U>
7638
7639 constructor(
7640 visit: <U>(f: (index: T, data: N) => U) => Iterable<U>
7641 ) {
7642 this.visit = visit
7643 this[Symbol.iterator] = () => visit((index, data) => [index, data] as [T, N])[Symbol.iterator]()
7644 }
7645}
7646
7647const makeCsrNodeWalker = <N, E, T extends Kind>(

Callers

nothing calls this directly

Calls 1

visitFunction · 0.70

Tested by

no test coverage detected