Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show a progress indicator for downloads #116

Open
earlgaspard opened this issue Mar 12, 2020 · 2 comments
Open

Show a progress indicator for downloads #116

earlgaspard opened this issue Mar 12, 2020 · 2 comments

Comments

@earlgaspard
Copy link
Contributor

Have a way for Hyperspace to show a progress indicator or inform about current progress status. Not sure if this is already in there.

@tylermilner
Copy link
Contributor

I think this can currently be achieved by manually observing the URLSessionDelegate protocol and then injecting the corresponding URLSession into the Hyperspace NetworkService object that's used to execute requests. See this article for more information.

However, I do agree that we should look into adding this functionality to Hyperspace so that you can track progress if you just use the defaults.

@wmcginty
Copy link
Contributor

wmcginty commented May 23, 2022

This may be simpler to add if/when we fully adopt structured concurrency (#159) using URLSessionTaskDelegate (https://developer.apple.com/documentation/foundation/urlsessiontaskdelegate).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants