async function showSequenceActionInfo()

in src/commands/openActionCode.ts [24:42]


async function showSequenceActionInfo(sequenceAction: WskAction): Promise<void> {
    const action = await sequenceAction.client.actions.get(sequenceAction.getFullName());
    const panel = vscode.window.createWebviewPanel(
        'showSequenceActionInfo',
        `Show Action: ${action.name}`,
        vscode.ViewColumn.One,
        {
            enableScripts: true,
        }
    );
    panel.webview.html = await fs.promises.readFile(
        path.resolve(WEBVIEW_TEMPLATE_PATH, 'sequenceActionInfo.html'),
        'utf-8'
    );
    panel.webview.postMessage({
        command: 'getData',
        actions: (action.exec as openwhisk.Sequence).components,
    });
}