Skip to main content

dispatch

Function dispatch 

Source
pub fn dispatch(
    feature: &InputFeature,
    target_layer: Layer,
) -> Option<ProcessedFeature>
Expand description

Dispatch a feature to the correct layer processor.

Routes based on the target layer. Each processor internally checks the feature’s DataSource to decide which processing path to take. Returns None if the feature should be skipped by the layer processor.