Skip to main content

get_runtime_usage_locations

Function get_runtime_usage_locations 

Source
pub async fn get_runtime_usage_locations(
    configuration: &Configuration,
    language: ScriptLang,
) -> Result<Vec<RuntimeUsageLocation>, Error<GetRuntimeUsageLocationsError>>
Expand description

Powers the block-on-disable instructive message (#190/#255) — where a language an admin is about to disable is still used, so they know what to migrate first. Capped per object kind on a large instance.