pub const STOP_GRACE: Duration;Expand description
How long a background worker may take to observe cancellation.
The host itself allows 30s per stop(); a worker that is still running after
this grace period is aborted, because a detached task outliving
provider.dispose() would keep touching disposed services.