(self: FiberMap<K, A, E>)
| 704 | * @since 2.0.0 |
| 705 | */ |
| 706 | export const clear = <K, A, E>(self: FiberMap<K, A, E>): Effect.Effect<void> => |
| 707 | Effect.suspend(() => { |
| 708 | if (self.state._tag === "Closed") { |
| 709 | return Effect.void |
| 710 | } |
| 711 | return Fiber.interruptAllAs(MutableHashMap.values(self.state.backing), internalFiberId) |
| 712 | }) |
| 713 | |
| 714 | const constInterruptedFiber = (function() { |
| 715 | let fiber: Fiber.Fiber<never, never> | undefined = undefined |
nothing calls this directly
no outgoing calls
no test coverage detected