code/KustoCopyConsole/Storage/IAppendStorage.cs (8 lines of code) (raw):

namespace KustoCopyConsole.Storage { public interface IAppendStorage { /// <summary>Maximum size of buffer that can be written.</summary> int MaxBufferSize { get; } /// <summary>Attempt to append the content to storage.</summary> /// <param name="content"></param> /// <param name="ct"></param> /// <returns><c>false</c> iif blob is full, i.e. the next append would fail.</returns> Task<bool> AtomicAppendAsync(IEnumerable<byte> content, CancellationToken ct); } }