build_component_sandbox

Function build_component_sandbox 

Source
pub fn build_component_sandbox<C: ComponentInstanceInterface + 'static>(
    component: &Arc<C>,
    child_component_output_dictionary_routers: HashMap<ChildName, Router<Dict>>,
    decl: &ComponentDecl,
    component_input: ComponentInput,
    program_output_dict: Dict,
    framework_router: Router<Dict>,
    capability_sourced_capabilities_dict: Dict,
    declared_dictionaries: Dict,
    error_reporter: impl ErrorReporter,
    aggregate_router_fn: &AggregateRouterFn<C>,
    event_stream_use_router_fn: &EventStreamUseRouterFn<C>,
) -> ComponentSandbox
Expand description

Once a component has been resolved and its manifest becomes known, this function produces the various dicts the component needs based on the contents of its manifest.