Implement WriteStream.destroySoon

This commit is contained in:
Ryan Dahl 2011-01-04 11:39:12 -08:00
parent bc1d758408
commit cda4d56bcf

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;