diff options
Diffstat (limited to 'pkg/priorityqueue/interface.go')
-rw-r--r-- | pkg/priorityqueue/interface.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/priorityqueue/interface.go b/pkg/priorityqueue/interface.go index 7c053e6d..8278dc8d 100644 --- a/pkg/priorityqueue/interface.go +++ b/pkg/priorityqueue/interface.go @@ -21,8 +21,8 @@ type Item interface { Context() ([]byte, error) // Ack - acknowledge the Item after processing - Ack() + Ack() error // Nack - discard the Item - Nack() + Nack() error } |