public async Task <AttachmentBytes> GetBytes(CancellationToken cancellation = default) { using (var connection = await GetConnection().ConfigureAwait(false)) { return(await persister.GetBytes(messageId, "default", connection, null, cancellation).ConfigureAwait(false)); } }
public Task <AttachmentBytes> GetBytes(CancellationToken cancellation = default) { return(persister.GetBytes(messageId, "default", cancellation)); }