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 ce8cbb5 commit 52ffb94Copy full SHA for 52ffb94
1 file changed
lib/internal/streams/iter/types.js
@@ -70,6 +70,12 @@ const kValidatedSource = Symbol('kValidatedSource');
70
*/
71
const kSyncWriteAccepted = Symbol('kSyncWriteAccepted');
72
73
+/**
74
+ * Internal sentinel for writers whose sync write methods may return false
75
+ * after accepting data when backpressure is applied. Such writers must expose
76
+ * desiredSize so callers can distinguish accepted backpressure from a sync
77
+ * write that was not performed.
78
+ */
79
const kSyncWriteAcceptedOnFalse = Symbol('kSyncWriteAcceptedOnFalse');
80
81
module.exports = {
0 commit comments