function Responder(res, nxt) {
  var response = res;
  var next = nxt;
  return function(err, result) {
    response.header('Content-Type', 'application/json');
    response.send(200, _tag(err, result));

    // added next so 'after' event will fire
    next();
  };
}
/**
 * A Responder is a continuation passing object type that is useful for handling
 * asynchronous HTTP responses. The object is constructed using a node http
 * response object. The consructed object is a function that will take an error
 * and success paramter. Whichever parameter is provided will by tagged as
 * either an error or value, stringified as a JSON object, and returned in the
 * body of the HTTP response.
 *
 * @param {Object} res - a response object
 * @return {Function} an asynchronous error/success function
 */
A Responder is a continuation passing object type that is useful for handling
asynchronous HTTP responses. The object is constructed using a node http
response object. The consructed object is a function that will take an error
and success paramter. Whichever parameter is provided will by tagged as
either an error or value, stringified as a JSON object, and returned in the
body of the HTTP response.

@param {Object} res - a response object
@return {Function} an asynchronous error/success function
A Responder is a continuation passing object type that is useful for handling asynchronous HTTP responses . The object is constructed using a node http response object . The consructed object is a function that will take an error and success paramter . Whichever parameter is provided will by tagged as either an error or value stringified as a JSON object and returned in the body of the HTTP response . @param { Object } res - a response object @return { Function } an asynchronous error / success function
function Responder(res, nxt) {
  var response = res;
  var next = nxt;
  return function(err, result) {
    response.header('Content-Type', 'application/json');
    response.send(200, _tag(err, result));
    next();
  };
}
function Responder ( res , nxt ) { var response = res ; var next = nxt ; return function ( err , result ) { response . header ( 'Content-Type' , 'application/json' ) ; response . send ( 200 , _tag ( err , result ) ) ; next ( ) ; } ; }
A Responder is a continuation passing object type that is useful for handling
 asynchronous HTTP responses.
A Responder is a continuation passing object type that is useful for handling asynchronous HTTP responses .
// added next so 'after' event will fire