Skip to content

Function: resetIdleTimer()

ts
function resetIdleTimer(): Promise<void>;

Programmatically reset the idle-timer countdown without changing the configured idleTime duration. Useful when the API consumer detects activity outside the map iframe (e.g. a parent-level keyboard shortcut or modal interaction) and wants to propagate that activity into the idle-detection loop so the map does not erroneously dispatch idleChange isUserActive:false.

Idempotent: when no idle timer is running (idleTime unset or zero on the iframe side), the iframe's RESET_IDLE_TIMER listener no-ops.

Throws MAPSTED-1090 when the API is not READY.

Returns

Promise<void>