download/download_isolate_entry library
Classes
- DownloadIsolate
- Handles the actual download logic within the isolate, including starting, pausing, cancelling, and writing data to file.
Constants
- MIN_PROGRESS_UPDATE_INTERVAL → const int
- The minimum interval (in milliseconds) for updating download progress.
Properties
- httpClientBuilder ↔ HttpClientBuilder?
-
Http client builder for the download isolate.
Used to create HTTP clients for downloading segments.
getter/setter pair
Functions
-
downloadIsolateEntry(
SendPort mainSendPort) → void - Entry point function for the download isolate. Sets up communication with the main isolate and listens for incoming messages to control download tasks (start, pause, cancel, etc.).