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

Function toJSON

packages/effect/src/Queue.ts:397–403  ·  view source on GitHub ↗
(this: Queue<unknown, unknown>)

Source from the content-addressed store, hash-verified

395 [DequeueTypeId]: variance,
396 ...PipeInspectableProto,
397 toJSON(this: Queue<unknown, unknown>) {
398 return {
399 _id: "effect/Queue",
400 state: this.state._tag,
401 size: sizeUnsafe(this)
402 }
403 }
404}
405
406/**

Callers

nothing calls this directly

Calls 1

sizeUnsafeFunction · 0.70

Tested by

no test coverage detected