Files
Beam/Beam.Downloaders/FailurePredicateOptions.cs
qwsdcvghyu89 f52aa6123b Refactor downloaders to use ByteDocument and add options builders
Replaces generic RawType with ByteDocument in downloaders and context classes, simplifying type usage. Adds builder classes for FailurePredicateOptions, FragmentOptions, SkipPredicateOptions, and UnitDownloaderOptions to improve configuration flexibility. Introduces DownloadTarget enum and SkipPredicate delegate for more granular download control. Refactors Fluent API interfaces and implementations to remove RawType generics and streamline usage. Adds Playwright and Stealth download strategies for extensibility.
2025-11-15 22:51:46 +11:00

9 lines
322 B
C#

using Beam.Models;
namespace Beam.Downloaders;
public record class FailurePredicateOptions<RawType> {
public required AsyncDownloadFailurePredicate<RawType>?[]? AsyncDownloadFailurePredicates { get; init; }
public bool ProcessInParallel { get; init; } = false;
public int? ParallelThreads { get; init; }
}