I have a .NET 6 project with a large number of classes that inherit from IHostedService. All of them receive two input parameters: Config config and LogManager logManager. Are there any ready-made TaskManagers for managing these tasks, such as starting, stopping, and restarting them with new input data (config)?
I have tried searching on GitHub and on the internet, and I can even write it myself, but is there at least a template for customization provided?