Skip to content

Commit

Permalink
Doc clarifications, part of #1234
Browse files Browse the repository at this point in the history
(cherry picked from commit dcbc380)
  • Loading branch information
michaelklishin committed Jul 22, 2022
1 parent ec8e552 commit dbdecf6
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions projects/RabbitMQ.Client/client/api/IModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -536,23 +536,25 @@ void QueueDeclareNoWait(string queue, bool durable,
bool WaitForConfirms(TimeSpan timeout, out bool timedOut);

/// <summary>
/// Wait until all published messages have been confirmed.
/// Wait until all published messages on this channel have been confirmed.
/// </summary>
/// <remarks>
/// Waits until all messages published since the last call have
/// been ack'd by the broker. If a nack is received, throws an
/// OperationInterrupedException exception immediately.
/// Waits until all messages published on this channel since the last call have
/// been ack'd by the broker. If a nack is received, throws an
/// OperationInterrupedException exception immediately
/// and closes the channel.
/// </remarks>
[AmqpMethodDoNotImplement(null)]
void WaitForConfirmsOrDie();

/// <summary>
/// Wait until all published messages have been confirmed.
/// Wait until all published messages on this channel have been confirmed.
/// </summary>
/// <remarks>
/// Waits until all messages published since the last call have
/// been ack'd by the broker. If a nack is received or the timeout
/// elapses, throws an OperationInterruptedException exception immediately.
/// Waits until all messages published on this channel since the last call have
/// been ack'd by the broker. If a nack is received or the timeout
/// elapses, throws an OperationInterruptedException exception immediately
/// and closes the channel.
/// </remarks>
[AmqpMethodDoNotImplement(null)]
void WaitForConfirmsOrDie(TimeSpan timeout);
Expand Down

0 comments on commit dbdecf6

Please sign in to comment.