Skip to content

Report file download progress with read+readFile#2

Open
cmdcolin wants to merge 3 commits intomainfrom
status2
Open

Report file download progress with read+readFile#2
cmdcolin wants to merge 3 commits intomainfrom
status2

Conversation

@cmdcolin
Copy link
Copy Markdown
Contributor

@cmdcolin cmdcolin commented May 12, 2025

This adds a statusCallback that reports file download progress from fetch. It gives simple progress when jbrowse is downloading a large plaintext file from a remote server

Notes

Note that, annoyingly, you can not use convenient methods like response.text() and response.arrayBuffer() which trying to get progress, you have to manually read from response.body

@cmdcolin cmdcolin changed the title Report file download progress with readFile Report file download progress with read+readFile May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant