Related to the following line: https://github.com/dwyl/sendemail/blob/master/lib/index.js#L38
I was wondering if you guys could clarify the above line for me.
Aren't we blocking the thread by using sync method in node? What happen if there is an error of reading the file?
Thanks!
Related to the following line: https://github.com/dwyl/sendemail/blob/master/lib/index.js#L38
I was wondering if you guys could clarify the above line for me.
Aren't we blocking the thread by using sync method in node? What happen if there is an error of reading the file?
Thanks!