PrefetchDataLoaderOptions
Options & Configuration · AiDotNet.Data.Loaders
Configuration options for prefetch-enabled data loading.
Constructors
| Constructor |
Summary |
PrefetchDataLoaderOptions() |
|
Properties
| Property |
Summary |
bool UseBackgroundThread { get; set; } |
Whether to use a background thread for prefetching. |
int PrefetchCount { get; set; } |
Number of batches to prefetch ahead. |
int TimeoutMs { get; set; } |
Timeout in milliseconds for waiting on a prefetched batch. |
Methods
| Method |
Summary |
void Validate() |
Validates that all option values are within acceptable ranges. |