Skip to content

Conversation

cmdcolin
Copy link
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