getRecordingSession function exported

Last updated: 2026-03-05T11:49:57.418Z

Metrics

LOC: 3 Complexity: 2 Params: 0

Signature

getRecordingSession(): : RecordingSession | null

Summary

Returns the current recording session (or null if not recording). After stopRecording(), returns the stopped session so it can still be exported. Returns null only after clearSession() or a new startRecording().

Source Code

export function getRecordingSession(): RecordingSession | null {
  return session ?? stoppedSession;
}

No outgoing dependencies.

Impact (Incoming)

graph LR getRecordingSession["getRecordingSession"] FillableElement["FillableElement"] FillableElement -->|uses| getRecordingSession style getRecordingSession fill:#dbeafe,stroke:#2563eb,stroke-width:2px click getRecordingSession "b8cbebc536152017.html" click FillableElement "2ecf5aaac3f668a8.html"
SourceType
FillableElement uses