Interface IExtractStageWithProgress<TSource, TProgress>
- Namespace
- Wolfgang.Etl.Abstractions
- Assembly
- Wolfgang.Etl.Abstractions.dll
An IExtractStage<TSource> whose underlying extractor also supports progress
reporting. Call WithProgress(IProgress<TProgress>) to supply an IProgress<T>
sink that will be forwarded to the extractor's ExtractAsync overload when the
pipeline runs.
public interface IExtractStageWithProgress<TSource, out TProgress> : IExtractStage<TSource> where TSource : notnull where TProgress : notnull
Type Parameters
TSourceThe type of item produced by the extractor.
TProgressThe type of progress report emitted by the extractor.
- Inherited Members
Methods
WithProgress(IProgress<TProgress>)
Supplies an IProgress<T> sink that the pipeline will pass to the
extractor's ExtractAsync overload when the pipeline runs. The returned stage is
a plain IExtractStage<TSource> — progress can only be set once.
IExtractStage<TSource> WithProgress(IProgress<out TProgress> progress)
Parameters
progressIProgress<TProgress>The progress sink to forward reports to.
Returns
- IExtractStage<TSource>
The same stage, typed as IExtractStage<TSource>.
Exceptions
- ArgumentNullException
progressis null.