bit-docs/lib/process/process module
Processes a FileEventEmitter and returns a promise.
process(fileEventEmitter, siteConfig)
Handles file match events from the FileEventEmitter by passing file source to bit-docs/lib/process/file which adds new DocObjects to the DocMap.
Parameters
- fileEventEmitter
{FileEventEmitter}
:An event emitter that dispatches events with files to process.
- siteConfig
{Object}
:An siteConfig object used to configure the behavior of bit-docs.