On Friday, August 8, 2014 4:38:21 PM UTC-4, Andrew Kelley wrote:
>
>
> Note that it is unsafe to use fs.write multiple times on the same file 
>> without waiting for the callback. For this scenario, fs.createWriteStream 
>> is strongly recommended.
>
>
>
Is this because the Buffer passed to `fs.write()` cannot be (re)used until 
the callback is executed or does it have to do with something at the OS 
level?

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/2da7b952-f078-4b02-adb2-2ed93b769ca2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to