clearSession function exported
Last updated: 2026-03-05T11:49:57.418Z
Metrics
LOC: 8
Complexity: 1
Params: 0
Signature
clearSession(): : void
Summary
Clears all steps from the current (or stopped) session, resets session to null.
Source Code
export function clearSession(): void {
session = null;
stoppedSession = null;
lastActionTimestamp = 0;
capturedResponses = [];
stoppedResponses = [];
clearPersistedSession();
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| clearPersistedSession | calls |
Impact (Incoming)
| Source | Type |
|---|---|
| FillableElement | uses |