Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/internal/streams/destroy.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ function needError(stream, err) {
return true;
}

// Undocumented cb() API, needed for core, not for public API
// Undocumented cb() API, needed for core, not for public API.
// cb() well be invoked synchronously if _destroy is synchronous.
Comment thread
ronag marked this conversation as resolved.
Resolved
function destroy(err, cb) {
const r = this._readableState;
const w = this._writableState;
Expand Down