import { IActionContext } from 'vscode-azureextensionui' ; import { SlotTreeItemBase } from '../tree/SlotTreeItemBase' ; import { startFunctionApp } from './startFunctionApp' ; import { stopFunctionApp } from './stopFunctionApp' ; export async function restartFunctionApp ( context , node ? ) { node = await stopFunctionApp ( context , node ) ; await startFunctionApp ( context , node ) ; }