Skip to content

Commit 6a90722

Browse files
Merge branch 'main' into stringallocations
2 parents 7b235a5 + 868dfc3 commit 6a90722

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

projects/RabbitMQ.Client/client/api/IModel.cs

+11-9
Original file line numberDiff line numberDiff line change
@@ -415,26 +415,28 @@ void BasicPublish<TProperties>(CachedString exchange, CachedString routingKey, r
415415
void TxSelect();
416416

417417
/// <summary>
418-
/// Wait until all published messages have been confirmed.
418+
/// Wait until all published messages on this channel have been confirmed.
419419
/// </summary>
420420
/// <returns>True if no nacks were received within the timeout, otherwise false.</returns>
421421
/// <param name="token">The cancellation token.</param>
422422
/// <remarks>
423-
/// Waits until all messages published since the last call have
424-
/// been either ack'd or nack'd by the broker. Returns whether
425-
/// all the messages were ack'd (and none were nack'd). Note,
426-
/// throws an exception when called on a non-Confirm channel.
423+
/// Waits until all messages published on this channel since the last call have
424+
/// been either ack'd or nack'd by the server. Returns whether
425+
/// all the messages were ack'd (and none were nack'd).
426+
/// Throws an exception when called on a channel
427+
/// that does not have publisher confirms enabled.
427428
/// </remarks>
428429
Task<bool> WaitForConfirmsAsync(CancellationToken token = default);
429430

430431
/// <summary>
431-
/// Wait until all published messages have been confirmed.
432+
/// Wait until all published messages on this channel have been confirmed.
432433
/// </summary>
433434
/// <param name="token">The cancellation token.</param>
434435
/// <remarks>
435-
/// Waits until all messages published since the last call have
436-
/// been ack'd by the broker. If a nack is received or the timeout
437-
/// elapses, throws an IOException exception immediately.
436+
/// Waits until all messages published on this channel since the last call have
437+
/// been ack'd by the server. If a nack is received or the timeout
438+
/// elapses, throws an IOException exception immediately and closes
439+
/// the channel.
438440
/// </remarks>
439441
Task WaitForConfirmsOrDieAsync(CancellationToken token = default);
440442

0 commit comments

Comments
 (0)