Is it possible to snipe or cancel certain Sidekiq work orders / work orders - effectively throw an exception or something in the workflow to complete it.
I have some pretty simple background rubies (MRI 1.9.3) in the Sidekiq section (last) that work fine and depend on external systems. External systems may take up different periods of time during which the employee must remain available.
I think I can use the Sidekiq API to access the appropriate employee, but I do not see any "terminate / cancel / all / exit" methods in the documents - is this possible? Is this something else people did?
Ps. I know that I could use an asynchronous loop in a work order to catch the appropriate signals and close ... but this will complicate the situation a bit due to the nature of the external systems.
source share