@@ -415,26 +415,28 @@ void BasicPublish<TProperties>(CachedString exchange, CachedString routingKey, r
415
415
void TxSelect ( ) ;
416
416
417
417
/// <summary>
418
- /// Wait until all published messages have been confirmed.
418
+ /// Wait until all published messages on this channel have been confirmed.
419
419
/// </summary>
420
420
/// <returns>True if no nacks were received within the timeout, otherwise false.</returns>
421
421
/// <param name="token">The cancellation token.</param>
422
422
/// <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.
427
428
/// </remarks>
428
429
Task < bool > WaitForConfirmsAsync ( CancellationToken token = default ) ;
429
430
430
431
/// <summary>
431
- /// Wait until all published messages have been confirmed.
432
+ /// Wait until all published messages on this channel have been confirmed.
432
433
/// </summary>
433
434
/// <param name="token">The cancellation token.</param>
434
435
/// <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.
438
440
/// </remarks>
439
441
Task WaitForConfirmsOrDieAsync ( CancellationToken token = default ) ;
440
442
0 commit comments