Beispiel #1
0
 public async Task CopyTo(Stream target, CancellationToken cancellation = default)
 {
     using (var connection = await GetConnection().ConfigureAwait(false))
     {
         await persister.CopyTo(messageId, "default", connection, null, target, cancellation).ConfigureAwait(false);
     }
 }
 public Task CopyTo(Stream target, CancellationToken cancellation = default)
 {
     return(persister.CopyTo(messageId, "default", target, cancellation));
 }