Implement WriteStream.destroySoon

pull/22966/head
Ryan Dahl 2011-01-04 11:39:12 -08:00
parent bc1d758408
commit cda4d56bcf
1 changed files with 2 additions and 2 deletions

View File

@ -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;