stopRecording function exported

Last updated: 2026-03-05T23:42:26.235Z

Metrics

LOC: 10 Complexity: 2 Params: 0

Signature

stopRecording(): : Promise<void>

Source Code

export async function stopRecording(): Promise<void> {
  try {
    await sendToPage({ type: "STOP_RECORDING" });
    panelState.recordingState = "stopped";
    addLog(t("logRecordStopped"), "info");
    renderRecordTab();
  } catch (err) {
    addLog(`${t("logRecordError")}: ${err}`, "error");
  }
}

Dependencies (Outgoing)

graph LR stopRecording["stopRecording"] renderRecordTab["renderRecordTab"] stopRecording -->|calls| renderRecordTab style stopRecording fill:#dbeafe,stroke:#2563eb,stroke-width:2px click stopRecording "d85adc1465d21faf.html" click renderRecordTab "55c03c4dd1c7d324.html"
TargetType
renderRecordTab calls

No incoming dependencies.