reset
Clear visitor, session, user identity, and the durable event queue.
Reset identity
import { reset } from "@hyperreal/landscape-core";
reset();
Signature
function reset(): void
What it clears
userId- visitor id
- session id
- durable event queue
- retry scheduler backoff
What it does not clear
- consent (call
setConsentseparately) - timers and autocapture listeners (the client keeps running)
endpoint/ config