MCPcopy Create free account
hub / github.com/effect-app/libs / annotateKey

Method annotateKey

repos/effect/packages/effect/src/Schema.ts:12523–12525  ·  view source on GitHub ↗
(annotations: Annotations.Key<Self>)

Source from the content-addressed store, hash-verified

12521 * const source = Graph.addNode(mutable, "A")
12522 * const target = Graph.addNode(mutable, "B")
12523 * Graph.addEdge(mutable, source, target, 1)
12524 * })
12525 *
12526 * const encoded = Schema.encodeSync(codec)(graph)
12527 *
12528 * encoded.type // => "directed"

Callers

nothing calls this directly

Calls 2

rebuildMethod · 0.65
annotateKeyMethod · 0.65

Tested by

no test coverage detected