diff options
| -rw-r--r-- | src/rabbit_backing_queue.erl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rabbit_backing_queue.erl b/src/rabbit_backing_queue.erl index f069575f9b..150c25513f 100644 --- a/src/rabbit_backing_queue.erl +++ b/src/rabbit_backing_queue.erl @@ -118,9 +118,10 @@ %% be ignored. -callback drain_confirmed(state()) -> {[rabbit_guid:guid()], state()}. -%% Drop messages from the head of the queue while the supplied -%% predicate returns true. A callback function is supplied allowing -%% callers access to messages that are about to be dropped. +%% Drop messages from the head of the queue while the supplied predicate returns +%% true. Also accepts a boolean parameter that determines whether the messages +%% are to be acked or not. If they are, the messages and the acktags are +%% returned. -callback dropwhile(msg_pred(), true, state()) -> {[{rabbit_types:basic_message(), ack()}], state()}; (msg_pred(), false, state()) |
