MCPcopy Index your code
hub / github.com/Effect-TS/effect / toJSON

Method toJSON

packages/effect/src/internal/mailbox.ts:324–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

322 return pipeArguments(this, arguments)
323 }
324 toJSON() {
325 return {
326 _id: "effect/Mailbox",
327 state: this.state._tag,
328 size: this.unsafeSize().toJSON()
329 }
330 }
331 toString(): string {
332 return Inspectable.format(this)
333 }

Callers

nothing calls this directly

Calls 2

unsafeSizeMethod · 0.95
toJSONMethod · 0.65

Tested by

no test coverage detected