UnregisterProvider

Function UnregisterProvider 

Source
pub fn UnregisterProvider(
    Handle: u32,
) -> ActionEffect<Arc<dyn LanguageFeatureProviderRegistry>, CommonError, ()>
Expand description

Creates an effect that, when executed, will unregister a language feature provider from the host’s central registry using its unique handle.

It uses the LanguageFeatureProviderRegistry capability from the environment.

§Parameters

  • Handle: The u32 handle that was returned when the provider was registered.

§Returns

An ActionEffect that resolves to () on success.