(fiber: Fiber.Fiber<any, any>)
| 904 | } |
| 905 | |
| 906 | const fiberStackAnnotations = (fiber: Fiber.Fiber<any, any>) => { |
| 907 | if (!fiber.cache.stackFrame) return undefined |
| 908 | const annotations = new Map<string, unknown>() |
| 909 | annotations.set(InterruptorStackTrace.key, fiber.cache.stackFrame) |
| 910 | return Context.makeUnsafe(annotations) |
| 911 | } |
| 912 | |
| 913 | const fiberInterruptChildren = <A, E>(fiber: FiberImpl<A, E>, exit: Exit.Exit<A, E>) => { |
| 914 | if (fiber._children === undefined || fiber._children.size === 0) { |
no test coverage detected