OpenRTMFP/ArcusNode — pull request #17 by farhodjon (2014-06-13 11:28:46+00:00)
Title: Using async functions in command events

This is useful if we call any asynchronous functions/methods (like Mongoose queries) in the command event.

arc.command('hello', function (nc, callback, name) {
setTimeOut(function () {
callback({hello: 'world'})
}, 500)
})

May be, my method is not optimal, please review.