Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// OPTION #1: no temp streamProcessor var
// fetch(...)
// ⚠️ OR️ ️⚠️
// OPTION #2: define a `streamProcessor` to hold our console logger
const streamProcessor = progressHelper(console.log)
// fetch(...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment