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

Method toJSON

packages/effect/src/internal/effect.ts:119–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117 return `Interrupt(${this.fiberId})`
118 }
119 toJSON(): unknown {
120 return {
121 _tag: "Interrupt",
122 fiberId: this.fiberId
123 }
124 }
125 [Equal.symbol](that: any): boolean {
126 return (
127 isInterruptReason(that) &&

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected