ReadonlydelayCancellation-aware delay. Resolves early when the signal aborts, so a background loop never keeps the host waiting on a timer.
ReadonlyloggerLogger scoped to this hosted service.
ReadonlysignalAborts when the application begins stopping, and when activation ends without completing after this service started.
A subscription made in start can be released here rather than in stop.
The signal also covers the case stop cannot: a start that throws after
subscribing, which is never followed by its own stop.
Context for starting or running a hosted service during the Application lifetime.