rootslab/formaline — Issue #34: Consider hooking into the callback of WriteStream.end
Author: DamonOehlman
Created: 2012-01-05 04:16:35+00:00
State: open

When processing large files formaline triggers the `loadend` event prior to the file being written in it's entirety to the file system. While not documented very well, the WriteStream [can accept a callback](https://github.com/joyent/node/blob/master/lib/fs.js#L1336) so that you can be sure that the file is properly flushed to the file system.