| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@nodejs/streams |
Sorry, something went wrong.
Clarifies a userland invariant until a better solution can be found. Also moves a misplaced sentence from _write to write. Refs: nodejs#31756 Refs: nodejs#31765
How so? This is a timing issue related to when and how the _write callback is invoked by the user. |
Sorry, something went wrong.
Perhaps I'm misunderstanding this? Note "always". Or does that mean that if the callback is called it will be called asynchronously? |
Sorry, something went wrong.
Ah now I see what you mean. That part was incorrectly written at _write() instead of write(). I just moved it to where it was intended. That was not the primary purpose of this PR. And yes the "always" is a bit ambigious but I think the intention is that "is called it will be called asynchronously". Maybe removing "always" would amke it clearer? |
Sorry, something went wrong.
Co-Authored-By: Luigi Pinca <luigipinca@gmail.com>
There was a problem hiding this comment.
lgtm
Sorry, something went wrong.
Co-Authored-By: Luigi Pinca <luigipinca@gmail.com>
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Clarifies a userland invariant until a better solution can be found. Also moves a misplaced sentence from _write to write. Refs: #31756 Refs: #31765 PR-URL: #31812 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
This does not land cleanly on v13.x. Could you please open a backport PR if it should land on that branch |
Sorry, something went wrong.
|
I think 75b30c6 must be backported first. Then this will land cleanly. |
Sorry, something went wrong.
|
75b30c6 is semver-major, so this should not be backported. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Clarifies a userland invariant until a better
solution can be found.
Also moves a misplaced sentence from _write to
write.
Refs: #31756
Refs: #31765
Checklist