type alias RuntimeSignal
Since 0.3.0

A process-termination signal an application can shut down gracefully on.

Deliberately narrow. These two are the signals an orchestrator actually sends — Kubernetes and docker stop send SIGTERM, a terminal sends SIGINT — and they are the only two every non-edge runtime this framework targets can register for. Widening the union would promise handling for signals that are unavailable, unmaskable, or platform-specific.

Definition

"SIGTERM" | "SIGINT"

Usage

import { type RuntimeSignal } from "common/src/index.ts";