MCPcopy Create free account
hub / github.com/effect-app/libs / closeUnsafe

Method closeUnsafe

repos/effect/packages/effect/src/internal/effect.ts:5402–5406  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5400 scope: Scope.Scope
5401 ): Fiber.Fiber<A, E>
5402} = dual(2, <A, E>(
5403 self: FiberImpl<A, E>,
5404 scope: Scope.Scope
5405): Fiber.Fiber<A, E> => {
5406 if (self._exit) {
5407 return self
5408 } else if (scope.state._tag === "Closed") {
5409 self.interruptUnsafe(self.id)

Callers 1

LatchClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected