code: function mapRoutes(msg, done) {
    var seneca = this
    var adapter = msg.adapter || locals.adapter
    var context = msg.context || locals.context
    var options = msg.options || locals.options
    var routes = Mapper(msg.routes)
    var auth = msg.auth || locals.auth
  
    // Call the adaptor with the mapped routes, context to apply them to
    // and instance of seneca and the provided consumer callback.
    adapter.call(seneca, options, context, auth, routes, done)
  }
docs: Creates a route-map and passes it to a given adapter. The msg can optionally contain a custom adapter or context for once off routing.