import { callWithTelemetryAndErrorHandling , IActionContext } from "vscode-azureextensionui" ; import { IAppSettingsClient } from "../../vscode-azurefunctions.api" ; import { downloadAppSettingsInternal } from "../appSettings/downloadAppSettings" ; export async function downloadAppSettingsFromApi ( client ) { return await callWithTelemetryAndErrorHandling ( 'api.downloadAppSettings' , async ( context ) => { await downloadAppSettingsInternal ( context , client ) ; } ) ; }