Closed riobits closed 7 months ago
The writeFile function helps prevent blocking I/O. Please test the code because I didn't test it.
writeFile
Error handling should be managed inside a try/catch block. Documentation needs an update.
try { await storeFileLocally( file.content, file.name, '/userFiles' ) } catch(err) { // ... }
deleteFile
The
writeFile
function helps prevent blocking I/O. Please test the code because I didn't test it.