enum DownloadStatus<T>
Type used to allow progress reporting in download methods using Swift’s async-await concurrency system.
| Enumeration Cases | |
|---|---|
| downloading | Download in progress. | 
| finished | The download finished. Stores the download result as T. | 
case downloading(bytesCurrent: Float, bytesTotal: Float)
Download in progress.
case finished(T)
The download finished. Stores the download result as T.