mirror of
https://github.com/cirruslabs/tart.git
synced 2026-10-01 03:31:18 +02:00
The URLSession async/await functions do not report progress through the normal URLSessionTaskDelegate callbacks, as reported in: https://developer.apple.com/forums/thread/723015 We don't want to use URLSession.bytes, as that results in a much slower download speed compared to URLSession.download, but we can work around the lack of progress callbacks by observing the progress on the URLSessionTask itself. Fixes #767