We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Desired usage:
public static void MyMethod(Stream stream, int bufferSize) { var visitor = new MyVisitor(); CsvReader.Process(stream, bufferSize); } public static async Task MyMethod(Stream stream, int bufferSize, IProgress<int> progress = null, CancellationToken cancellationToken = default) { var visitor = new MyVisitor(); await CsvReader.ProcessAsync(stream, bufferSize, progress, cancellationToken); }
The IProgress<int> instance would receive the return of each Stream.Read or Stream.ReadAsync call after that chunk has been fully processed.
IProgress<int>
Stream.Read
Stream.ReadAsync
The text was updated successfully, but these errors were encountered:
Helpers for processing a Stream.
f794ce2
Related: #10
6b8c14c
2a310f1
airbreather
No branches or pull requests
Desired usage:
The
IProgress<int>
instance would receive the return of eachStream.Read
orStream.ReadAsync
call after that chunk has been fully processed.The text was updated successfully, but these errors were encountered: