Created
November 20, 2018 20:50
-
-
Save justsml/bef2dd7e630eb7642beb3e2be29489b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const getBlob = url => fetch(url) | |
.then(progressHelper(console.log)) // progressHelper used inside the .then() | |
.then(response => response.blob()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment