From cda4d56bcf235baf15c401276b281de5955edd5d Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 4 Jan 2011 11:39:12 -0800 Subject: [PATCH] Implement WriteStream.destroySoon --- lib/fs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fs.js b/lib/fs.js index 75b7cf98c6..af18877a8d 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -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;