createWriteStream
createWriteStream(
this,path,options?):WriteStream
Defined in: src/node/async.ts:718
Opens a file in write mode and creates a Node.js-like WriteStream.
Parameters
Section titled “Parameters”unknown
PathLike
The path to the file to be opened.
options?
Section titled “options?”BufferEncoding | WriteStreamOptions
Options for the WriteStream and file opening (e.g., encoding, highWaterMark, mode).
Returns
Section titled “Returns”A WriteStream object for writing to the file.