a7d148a96f
Added new Beam.Fluent and Beam.Models projects with staged download builder and data context models. Refactored and moved model classes from Beam.Temporary.Cli to Beam.Models. Added new data providers and extended DataBindings in Beam.Dynamic. Renamed Beam.Puppeteer to Beam.Playwright and updated related classes. Updated project references and package versions. Removed obsolete and unused files from Beam.Temporary.Cli.
15 lines
519 B
C#
15 lines
519 B
C#
using System.Collections.Concurrent;
|
|
|
|
namespace Beam.Fluent {
|
|
public static partial class DownloadBuilder<RawType, OutType> {
|
|
public interface IDownloadStage {
|
|
IDownloadStage SaveToDirectory(string dir);
|
|
IDownloadStage SaveToFiles(IEnumerable<string> files);
|
|
IDownloadStage SaveToMemory(ConcurrentBag<OutType> bag);
|
|
DownloadEnumerable<OutType> AsAsyncEnumerable();
|
|
void WaitForDownload();
|
|
Task WaitForDownloadAsync();
|
|
}
|
|
}
|
|
}
|