Class: Processor

processor~Processor(logger) → {Processor}

new Processor(logger) → {Processor}

Site processor.

Parameters:
Name Type Description
logger Logger
Source:
Returns:
Type
Processor

Methods

process(site) → {Promise}

Process site.

Parameters:
Name Type Description
site Site
Source:
Returns:
Type
Promise

register(name, fn)

Register a processor function.

Parameters:
Name Type Description
name String
fn processCallback
Source: