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

Function toJSON

packages/effect/src/TxQueue.ts:312–318  ·  view source on GitHub ↗
(this: TxQueue<unknown, unknown>)

Source from the content-addressed store, hash-verified

310 return `TxQueue(${this.strategy}, ${this.capacity})`
311 },
312 toJSON(this: TxQueue<unknown, unknown>) {
313 return {
314 _id: "TxQueue",
315 strategy: this.strategy,
316 capacity: this.capacity
317 }
318 }
319}
320
321// =============================================================================

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected