Example #1
0
 public static Task CommitAsync(this IMessageBatch batch, CancellationToken cancellationToken)
 {
     return(batch.CommitAsync(batch.Last(), cancellationToken));
 }
Example #2
0
 public static void MarkSuccessful(this IMessageBatch batch)
 {
     batch.MarkSuccessful(batch.Last());
 }