Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Create promise from node async function
function denodifyMethod(funcName){
return function(){
return Q.npost(this, funcName, arguments);
serviceBusService.createTopicIfNotExistsQ = denodifyMethod("createTopicIfNotExists");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment