Skip to content

Commit

Permalink
Implement WriteStream.destroySoon
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jan 4, 2011
1 parent bc1d758 commit cda4d56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,6 @@ WriteStream.prototype.destroy = function(cb) {
}
};


// TODO: WriteStream.prototype.destroySoon()
// There is no shutdown() for files.
WriteStream.prototype.destroySoon = WriteStream.prototype.end;

0 comments on commit cda4d56

Please sign in to comment.