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

Function fiberStackAnnotations

packages/effect/src/internal/effect.ts:751–756  ·  view source on GitHub ↗
(fiber: Fiber.Fiber<any, any>)

Source from the content-addressed store, hash-verified

749}
750
751const fiberStackAnnotations = (fiber: Fiber.Fiber<any, any>) => {
752 if (!fiber.currentStackFrame) return undefined
753 const annotations = new Map<string, unknown>()
754 annotations.set(InterruptorStackTrace.key, fiber.currentStackFrame)
755 return Context.makeUnsafe(annotations)
756}
757
758const fiberInterruptChildren = (fiber: FiberImpl) => {
759 if (fiber._children === undefined || fiber._children.size === 0) {

Callers 3

effect.tsFile · 0.85
fiberInterruptAllFunction · 0.85
goFunction · 0.85

Calls 1

setMethod · 0.65

Tested by

no test coverage detected