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

Method constructor

packages/effect/src/internal/effect.ts:109–115  ·  view source on GitHub ↗
(
    fiberId: number | undefined,
    annotations = constEmptyAnnotations
  )

Source from the content-addressed store, hash-verified

107export class Interrupt extends ReasonBase<"Interrupt"> implements Cause.Interrupt {
108 readonly fiberId: number | undefined
109 constructor(
110 fiberId: number | undefined,
111 annotations = constEmptyAnnotations
112 ) {
113 super("Interrupt", annotations, "Interrupted")
114 this.fiberId = fiberId
115 }
116 override toString() {
117 return `Interrupt(${this.fiberId})`
118 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected