pub fn invoke_async_hook( ctx: &Ctx<'_>, hook_type: HookType, provider_type: ProviderType, uid: usize, ) -> Result<()>