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

Function toJSON

packages/effect/src/ScopedCache.ts:220–226  ·  view source on GitHub ↗
(this: ScopedCache<any, any, any>)

Source from the content-addressed store, hash-verified

218 ...PipeInspectableProto,
219 [TypeId]: TypeId,
220 toJSON(this: ScopedCache<any, any, any>) {
221 return {
222 _id: "ScopedCache",
223 capacity: this.capacity,
224 state: this.state
225 }
226 }
227}
228
229const defaultTimeToLive = <A, E>(_: Exit.Exit<A, E>, _key: unknown): Duration.Duration => Duration.infinity

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected