Skip to main content

run_processor

Function run_processor 

Source
pub fn run_processor(
    name: &str,
    config: &ProcessorConfig,
    env: &Environment,
    context: &LayeredContext,
    asset: &mut Asset,
) -> Result<bool, ProcessingError>
Expand description

Runs a single processor against an asset.

Returns (modified, result) where modified is true if the processor reported that it changed the asset.