waitForShutdownSignal method

Future<void> waitForShutdownSignal()

Keep the process alive until SIGINT/SIGTERM, then shut down gracefully.

Implementation

Future<void> waitForShutdownSignal() => _waitForSignal(shutdown);