FR: Acknowledging jobs outside of worker function #686
rauanmayemir
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
|
Hmm, I don’t think this is likely going to be something we would build within River itself. The entire model is predicated on jobs being worked by a worker’s You may be able to experiment with some different approaches to try and bridge the gap within user space, but fundamentally the job will stay as executing until the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the job is 'done' as long as
worker.Work()returns.I need a different approach similar to what AMQP supports where pulling a job is decoupled from acknowledging or not acknowledging it.
Ideally, some sort of
AsyncWorkerwould help a lot, especially if it can be handled with channels. I.e something like:Beta Was this translation helpful? Give feedback.
All reactions