applicationStopping property
Triggered when the application host is performing a graceful shutdown. Request may still be in flight. Shutdown will block until this event completes.
Implementation
@override
CancellationToken get applicationStopping => _stoppingSource.token;