SimonErm/react-native-job-queue

How do i go about pausing/stopping only one worker?

aakashgupta0205 opened this issue · 1 comments

Not an issue. But currently queue.stop() stops the processing of all the workers. If i want to stop only one worker from processing, how do i go about doing that?

That's currently not possible. You could use the cancelation token, to abort jobs, but therefore you would have to track a map of the worker and related tokens.