onServerStopped method

Future<void> onServerStopped()

Called once in-flight requests have drained, before the process exits.

Release what the app owns here — database pools, message consumers, file handles. Throwing is logged and does not stop the shutdown.

Implementation

Future<void> onServerStopped() async {}