MCPcopy Index your code
hub / github.com/Effect-TS/effect / [Hash.symbol]

Method [Hash.symbol]

packages/effect/src/internal/cache.ts:122–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120 next: MapKey<K> | undefined = undefined
121 constructor(readonly current: K) {}
122 [Hash.symbol](): number {
123 return pipe(
124 Hash.hash(this.current),
125 Hash.combine(Hash.hash(this.previous)),
126 Hash.combine(Hash.hash(this.next)),
127 Hash.cached(this)
128 )
129 }
130 [Equal.symbol](that: unknown): boolean {
131 if (this === that) {
132 return true

Callers

nothing calls this directly

Calls 3

cachedMethod · 0.80
pipeFunction · 0.70
combineMethod · 0.65

Tested by

no test coverage detected