lib/processor.js
function resolveFunctionList (functionList, basedir) {
  if (!functionList) return []
  return (Array.isArray(functionList) ? functionList : [functionList])
    .map(function (proc) {
      if (typeof (proc) === 'string') {
        proc = require(resolve.sync(proc, { basedir: basedir }))
      }
      return toAsync(proc)
    })
}
function resolveFunctionList (functionList, basedir) {
  if (!functionList) return []
  return (Array.isArray(functionList) ? functionList : [functionList])
    .map(function (proc) {
      if (typeof (proc) === 'string') {
        proc = require(resolve.sync(proc, { basedir: basedir }))
      }
      return toAsync(proc)
    })
}
function resolveFunctionList ( functionList , basedir ) { if ( ! functionList ) return [ ] return ( Array . isArray ( functionList ) ? functionList : [ functionList ] ) . map ( function ( proc ) { if ( typeof ( proc ) === 'string' ) { proc = require ( resolve . sync ( proc , { basedir : basedir } ) ) } return toAsync ( proc ) } ) }
Resolve and require a list of module path that exports async function

Each path is resolved against `basedir`. `utils.toAsync()` unsure that
each function will work as async function.

@param {Array|String} functionList
Module path or array of module path

@param {String} basedir
Base path for path resolution (dirname of the package.json)

@return {Array}
An array of htmly asynchronous functions
Resolve and require a list of module path that exports async function