pub struct SmartModuleChainInstance { /* private fields */ }Expand description
SmartModule Chain Instance that can be executed
Implementations§
source§impl SmartModuleChainInstance
impl SmartModuleChainInstance
sourcepub fn process(
&mut self,
input: SmartModuleInput,
metric: &SmartModuleChainMetrics
) -> Result<SmartModuleOutput>
pub fn process(
&mut self,
input: SmartModuleInput,
metric: &SmartModuleChainMetrics
) -> Result<SmartModuleOutput>
A single record is processed thru all smart modules in the chain. The output of one smart module is the input of the next smart module. A single record may result in multiple records. The output of the last smart module is added to the output of the chain.