We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2901e0c commit 38f5cadCopy full SHA for 38f5cad
4-binary/03-blob/article.md
@@ -237,16 +237,16 @@ const readableStream = blob.stream();
237
const stream = readableStream.getReader();
238
239
while (true) {
240
- // for each iteration: data is the next blob fragment
241
- let { done, data } = await stream.read();
+ // for each iteration: value is the next blob fragment
+ let { done, value } = await stream.read();
242
if (done) {
243
// no more data in the stream
244
console.log('all blob processed.');
245
break;
246
}
247
248
// do something with the data portion we've just read from the blob
249
- console.log(data);
+ console.log(value);
250
251
```
252
0 commit comments