I want the Scheduler Background Services to run a scan method. therefore, the service will update the number of scanned files. how can I handle the fact that I closed the application schedulers by starting the service, the ui update method will fail and stop the service.
source
share