pinojs / sonic-boom

Extremely fast utf8 only stream implementation
MIT License
266 stars 41 forks source link

flushSync doesn't wait for pending async writes to finish #101

Closed ronag closed 3 years ago

ronag commented 3 years ago

I'm not quite sure what happens in this case...

mcollina commented 3 years ago

Usually it's ok. There is a chance of some data being lost in the process.