wrapper.js
function wrapAsync() {
    // Traverse async methods
    for (var fn in async) {
        // Promisify the method
        async[fn] = wrapAsyncMethod(async[fn], async);
    }

    // Return co-friendly async object
    return async;
}
function wrapAsync() {
    // Traverse async methods
    for (var fn in async) {
        // Promisify the method
        async[fn] = wrapAsyncMethod(async[fn], async);
    }

    // Return co-friendly async object
    return async;
}
function wrapAsync ( ) { // Traverse async methods for ( var fn in async ) { // Promisify the method async [ fn ] = wrapAsyncMethod ( async [ fn ] , async ) ; } // Return co-friendly async object return async ; }
Wraps an async object with co-friendly functions
Wraps an async object with co - friendly functions