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

Function toJSON

packages/effect/src/Context.ts:277–282  ·  view source on GitHub ↗
(this: Service<I, A>)

Source from the content-addressed store, hash-verified

275 }
276 }),
277 toJSON<I, A>(this: Service<I, A>) {
278 return {
279 _id: "Service",
280 key: this.key
281 }
282 },
283 of<Service>(this: void, self: Service): Service {
284 return self
285 },

Callers

nothing calls this directly

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected