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

Function toJSON

packages/effect/src/ScopedRef.ts:46–51  ·  view source on GitHub ↗
(this: ScopedRef<any>)

Source from the content-addressed store, hash-verified

44 ...PipeInspectableProto,
45 [TypeId]: TypeId,
46 toJSON(this: ScopedRef<any>) {
47 return {
48 _id: "ScopedRef",
49 value: this.backing.backing.ref.current[1]
50 }
51 }
52}
53
54const makeUnsafe = <A>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected