Closed SRoyDeveloper closed 4 years ago
Hi @SRoyDeveloper , csv-writer doesn't directly work with a file descriptor. It's using fs.writeFile("filename", ...
and NOT doing fs.open
/ fs.close
; so you don't need to manually close anything.
Hi @ryu1kn,
Thanks for the confirmation.
Regards, Suparna
Hi,
After the completion of the write operation (using writeRecords function) how to close the writer? I tried using writer.end() or writer.close(). Both gave errors that end or close is not a function.
Regards, Suparna