Skip to content

REVO / API version 0.0.10

shutdown

shutdown(): void

Starts graceful shutdown and blocks new connections. Returns immediately. Waits for serverStop handlers. Repeated calls keep the original timeout. Uses process.exitCode, which defaults to 0.

void