I’m playing with the worker class and am seeing a big improvement in responsiveness and speed, as of now (that part is impressing me).
The worker searches for files inside the folder passed as a parameter (to the JobRun event). So far, so good.
Now, my app was already designed so it can search multiple times in parallel (e.g. while a search runs in /Applications, the user may start another search in another folder). Refactoring this with the worker class puzzles me.
I can’t create new instances of a worker, by design, and the existing worker, while it runs, won’t give me a chance to tell it there’s another task to perform at the same time; I can only do all tasks serially.
Of course, adding other workers to the project makes no sense, albeit it could work…
Is this just a limitation or I’m overlooking something?