Skip to main content

Module runtime

Module runtime 

Source
Expand description

Runtime wiring helpers: tracing registry install, signal binding.

Enums§

LogFormat
Log format selector — driven by the --log-format flag or the log.format config key.

Functions§

bind_shutdown_signals
Spawn a task that cancels token on SIGINT (and on Unix, SIGTERM). Returns immediately; the spawned task lives until either signal fires or the runtime shuts down.
install_tracing
Install the framework’s tracing-subscriber registry. Idempotent — a second call is a no-op (respecting the Once-gated install).