Nexus API Reference

ShutdownSignalHandler
in package

FinalYes
Tags
psalm-api

Installs SIGTERM/SIGINT handlers that call $server->shutdown(). Idempotent — Swoole replaces previous handlers for the same signal.

Table of Contents

Methods

install()  : void

Methods

install()

public static install(Server $server, LoggerInterface $logger) : void
Parameters
$server : Server
$logger : LoggerInterface

        
On this page

Search results