circuitry icon indicating copy to clipboard operation
circuitry copied to clipboard

skip_delete for messages

Open pandomic opened this issue 7 years ago • 1 comments

Currently it is not possible to skip deletion of messages by throwing :skip_delete or by setting corresponding options for #subscribe. It may be very useful, if I, for example, want to decouple messages across multiple subscribers.

pandomic avatar May 11 '18 14:05 pandomic

We have exactly the same need. We want to delete a batch of messages after they are completely processed, not one at a time.

As a workaround, we made an option "auto_delete" on our branch that defaults on.

https://github.com/mavenlink/circuitry/pull/2

It would be nicer if we had this available on message and gave the full message object to the caller. That seems like a refactor.

bmidgley avatar May 11 '18 19:05 bmidgley