NodettyWriteStream.prototype.clearLinemethod WriteStream.prototype.clearLine#WriteStream.prototype.clearLine(dir: Direction,callback?: () => void,): booleanwriteStream.clearLine() clears the current line of this WriteStream in a direction identified by dir. Parameters ##dir: Directionoptional#callback: () => voidInvoked once the operation completes. Return Type #booleanfalse if the stream wishes for the calling code to wait for the 'drain' event to be emitted before continuing to write additional data; otherwise true.
method WriteStream.prototype.clearLine#WriteStream.prototype.clearLine(dir: Direction,callback?: () => void,): booleanwriteStream.clearLine() clears the current line of this WriteStream in a direction identified by dir. Parameters ##dir: Directionoptional#callback: () => voidInvoked once the operation completes. Return Type #booleanfalse if the stream wishes for the calling code to wait for the 'drain' event to be emitted before continuing to write additional data; otherwise true.