Is it possible to trace a Job/Task and it's state in a workerpool and Pause/Resume/Kill that specific Job/Task?

For Instance:
In SMS Sending, for a SMS to be sent, following processes are required

  1. Validate Phone Number
  2. Check User Balance and Deduct Balance
  3. Choose Appropriate provider for sending SMS
  4. Dispatch to provider

100 users are sending SMS and I need to track Job/Task for userA and want to Pause his sending processes on step #2
I want to manage the task from outside per user.
to be precise, is it possible to get manage Job/Tasks in workerpool?

Any suggestions would be helpful :slight_smile:

What have you tried? It sounds like context.Context is what youโ€™re looking for.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.