 setProto = require "setProto"
 Promise = require "Promise"
 express = require "express"
-isType = require "isType"
 path = require "path"
 now = require "performance-now"
 log = require "log"

      return if ++index is length
      startTime = now()
      result = pipes[index].call context, req, res
      if result and isType result.then, Function
      then result.then done
      else done result


      return if res._headerSent
      return next() unless result

      if result.constructor is Object
        return res.send result

      if result instanceof Error
