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

Function abort

packages/effect/src/Micro.ts:4230–4230  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4228 fiber.unsafeInterrupt()
4229 } else {
4230 const abort = () => fiber.unsafeInterrupt()
4231 options.signal.addEventListener("abort", abort, { once: true })
4232 fiber.addObserver(() => options.signal!.removeEventListener("abort", abort))
4233 }

Callers

nothing calls this directly

Calls 1

unsafeInterruptMethod · 0.80

Tested by

no test coverage detected