You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The examples where we write to a sitemap or index with .write('item') repeated, are not correct / not ideal
These write calls do not respect backpressure because they do not wait for the callback to be called before writing another item
Expected behavior
We can change these to use a promisified version of write to show how to make multiple writes while respecting back pressure and handling errors as they happen
Context:
Library Version 7.1.1
Additional context
None
The text was updated successfully, but these errors were encountered:
Describe the bug
.write('item')
repeated, are not correct / not idealwrite
calls do not respect backpressure because they do not wait for the callback to be called before writing another itemExpected behavior
We can change these to use a promisified version of
write
to show how to make multiple writes while respecting back pressure and handling errors as they happenContext:
Additional context
None
The text was updated successfully, but these errors were encountered: