Property ProgressCallback
ProgressCallback
Gets a value that represents the callback function to report the progress of the file processing operation. The callback function takes a double value representing the progress fraction (between 0.0 and 1.0) and returns a ValueTask to await.
Declaration
public Func<double, ValueTask>? ProgressCallback { get; }
Property Value
| Type | Description |
|---|---|
| Func<double, ValueTask> |
Remarks
This value is only meant to be read by the FileProcessor instances in the pipeline. It is set by the FileProcessingPipeline before each processor is executed and is not intended to be used outside of this.
Should not be called concurrently from multiple threads/tasks.