Beispiel #1
0
 public async Task ProcessStreams(Func <string, AttachmentStream, Task> action, CancellationToken cancellation = default)
 {
     using (var connection = await GetConnection().ConfigureAwait(false))
     {
         await persister.ProcessStreams(messageId, connection, null, action, cancellation).ConfigureAwait(false);
     }
 }
 public Task ProcessStreams(Func <string, AttachmentStream, Task> action, CancellationToken cancellation = default)
 {
     return(persister.ProcessStreams(messageId, action, cancellation));
 }