Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Investigate whether onDownloadProgress works [skynet-js] #544

Open
MSevey opened this issue Aug 9, 2022 · 1 comment
Open

Investigate whether onDownloadProgress works [skynet-js] #544

MSevey opened this issue Aug 9, 2022 · 1 comment

Comments

@MSevey
Copy link
Contributor

MSevey commented Aug 9, 2022

It may only work for methods that create a request, such as getFileContent.

Update docs to reflect this

@parajbs
Copy link

parajbs commented Aug 17, 2022

Hello MSevey,

When I last looked at the code of "skynet-js" to port the functions "onDownloadProgress" and "onUploadProgress" to "nodejs-skynet", I noticed that it is not integrated for "downloadFile", since only a "window.location.assign(url)" is executed.

In "nodejs-skynet" "axios" is used for the "downloadFile" function.
I got it running there, but only in my version, since you didn't want the changes.

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

No branches or pull requests

2 participants