Core\Signal
Runs a function of your program when the process gets a signal to stop. The program can then finish its work cleanly. Core\Server::isDraining() tells whether a shutdown has started.
Members
1 member.
| Member | Signature |
|---|---|
onShutdown | onShutdown(callable(): mixed $handler): void |
