Hyperlinkv0.8.0-beta.28

Cause

Cause.InterruptorStackTraceclasseffect/Cause.ts:1939
InterruptorStackTrace

Context annotation used to store the stack frame captured at the point of interruption.

When to use

Use when you need the stack-frame annotation used by interrupt-only cause rendering.

Details

Similar to StackTrace but specific to Interrupt reasons.

Source effect/Cause.ts:19393 lines
export class InterruptorStackTrace
  extends Context.Service<InterruptorStackTrace, StackFrame>()("effect/Cause/InterruptorStackTrace")
{}