I'm new with node.js, I'm trying to wrap node-multiparty callbacks with bluebird but the parse function signature of multiparty is function(err, fields, files) and the promise signature requires just one return value. I'm sure there is a way to do this but I haven't found anything yet.
Thanks in advance!
Use
spread
instead ofthen
. Taking from the example in their README: