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

Function toJSON

packages/effect/src/TxSemaphore.ts:76–81  ·  view source on GitHub ↗
(this: TxSemaphore)

Source from the content-addressed store, hash-verified

74 return toJson(this)
75 },
76 toJSON(this: TxSemaphore) {
77 return {
78 _id: "TxSemaphore",
79 capacity: this.capacity
80 }
81 },
82 pipe() {
83 return pipeArguments(this, arguments)
84 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected