Skip to content

@jsvision/core / HostSignal

Type Alias: HostSignal

HostSignal = "resize" | "interrupt" | "terminate" | "hangup" | "suspend" | "continue"

Defined in: host/types.ts:164

The abstract, payload-free signal set the host reacts to. The adapter maps these onto the concrete POSIX/Windows sources internally, keeping the host platform-agnostic. Uncaught exceptions and unhandled rejections carry a payload and so are NOT in this set — they have their own subscriptions (RuntimeAdapter.onUncaughtException / RuntimeAdapter.onUnhandledRejection).