Skip to main content

provider_cross_caps

Function provider_cross_caps 

Source
pub fn provider_cross_caps(
    table: &UnitTable,
    declaring_unit: &str,
    consumed: &[String],
    aliases: &HashMap<String, String>,
    flattened: &HashMap<String, String>,
) -> BTreeMap<String, String>
Expand description

The cross-context capabilities a context’s providers reference in their own given, as deps_key -> consumed_context (1B.1b, ComposePlan). The Workers compose.ts instantiates these at the top level beside the handlers’ (handler_cross_caps); the Bundle root reaches them only through a provider’s own recursive instantiation.