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

Function onSigint

packages/platform/node-shared/src/NodeRuntime.ts:52–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 })
51
52 function onSigint() {
53 receivedSignal = true
54 fiber.interruptUnsafe(fiber.id)
55 }
56
57 process.on("SIGINT", onSigint)
58 process.on("SIGTERM", onSigint)

Callers

nothing calls this directly

Calls 1

interruptUnsafeMethod · 0.80

Tested by

no test coverage detected