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 ab4c53e commit 320f649Copy full SHA for 320f649
lib/internal/streams/destroy.js
@@ -1,6 +1,7 @@
1
'use strict';
2
3
-// Undocumented cb() API, needed for core, not for public API
+// Undocumented cb() API, needed for core, not for public API.
4
+// The cb() will be invoked synchronously if _destroy is synchronous.
5
function destroy(err, cb) {
6
const readableDestroyed = this._readableState &&
7
this._readableState.destroyed;
0 commit comments