MCPcopy
hub / github.com/Effect-TS/effect / abort

Function abort

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

unsafeInterruptMethod · 0.80

Tested by

no test coverage detected