Skip to main content

invoke_provider_method

Function invoke_provider_method 

Source
async fn invoke_provider_method(
    environment: &MountainEnvironment,
    registration: &ProviderRegistrationDTO,
    method: &str,
    arguments: Vec<Value>,
) -> Result<Value, CommonError>
Expand description

Like invoke_provider but uses an explicit method name instead of the $provide{ProviderType} convention. Used for prepare steps ($prepareCallHierarchyItems, $prepareTypeHierarchyItems) where the method prefix differs from the provider type string.