nodejs formidable async issue
问题 I'm working on a nodejs app using the formidable 3rd party module. And I'm trying to get global scope access (see var formfields, below) to the webform fields returned by the form.parse method below. First, form.parse is an asynch operation and per the module docs here: https://github.com/felixge/node-formidable is designed to take a callback. I'm doing that, see the anonymous function passed to form.parse. My problem is, no matter what I do I can't get form.parse to properly return the