Open brycepj opened 10 years ago
Forgive me -- I'm a little new to Node and promises, but I'm trying to figure out if it's possible to hook this up to a promise.
As in, open.then(callback).
Unlike other fs operations, open doesn't seem to support a callback with error reporting.
Is there any way to signal that an file has been successfully opened, so I can run more processes?
+1
Forgive me -- I'm a little new to Node and promises, but I'm trying to figure out if it's possible to hook this up to a promise.
As in, open.then(callback).
Unlike other fs operations, open doesn't seem to support a callback with error reporting.
Is there any way to signal that an file has been successfully opened, so I can run more processes?