Skip to content

Commit f8fd4bf

Browse files
committed
fixup! Remove rabbit_variable_queue:fold/3
1 parent 32e9369 commit f8fd4bf

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

deps/rabbit/src/rabbit_backing_queue.erl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,6 @@
173173
%% each message, its ack tag, and an accumulator.
174174
-callback ackfold(msg_fun(A), A, state(), [ack()]) -> {A, state()}.
175175

176-
%% Fold over all the messages in a queue and return the accumulated
177-
%% results, leaving the queue undisturbed.
178-
-callback fold(fun((mc:state(),
179-
rabbit_types:message_properties(),
180-
boolean(), A) -> {('stop' | 'cont'), A}),
181-
A, state()) -> {A, state()}.
182-
183176
%% How long is my queue?
184177
-callback len(state()) -> non_neg_integer().
185178

0 commit comments

Comments
 (0)