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

Method toJSON

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

Source from the content-addressed store, hash-verified

327 return pipeArguments(this, arguments)
328 }
329 toJSON() {
330 return {
331 _id: "effect/Mailbox",
332 state: this.state._tag,
333 size: this.unsafeSize().toJSON()
334 }
335 }
336 toString(): string {
337 return Inspectable.format(this)
338 }

Callers

nothing calls this directly

Calls 2

unsafeSizeMethod · 0.95
toJSONMethod · 0.65

Tested by

no test coverage detected