Skip to main content

OopCompositionFactory

Type Alias OopCompositionFactory 

Source
pub type OopCompositionFactory = fn(&AppConfig, &OopCompositionContext) -> Result<OopComposition, OopCompositionError>;
Expand description

Constructs clients from the effective configuration. Finish all fallible work before starting a factory-owned worker. Once a worker starts, transfer its cleanup owner through the successful return.