resetSessionTimeout()

Reset the session timeout. One of the seven portable facade methods of the Dashlet handle — see call for the string-based surface, which shares the same dispatch core.

1. Signature

resetSessionTimeout(): Promise<void>;

2. Parameters

None.

3. Per-environment behavior

Environment Behavior

webclient

Posts resetSessionTimeout with empty params, correlated (the host answers void); resolves on the host reply.

rich client

Documented no-op — resolves without any bridge call: the rich client has no session timeout to reset.

standalone (or still detecting without a wire)

No host reply path exists — the call rejects (bounded) with the TimeoutError so callers can render a fallback instead of hanging.

4. Examples

await dashlet.resetSessionTimeout();

5. Errors

  • Error('dashlet destroyed') — the dashlet was destroyed before the call.

  • TimeoutError — bounded no-reply in standalone, or a host that never answered within timeoutMs.

  • The host’s { error } payload — when the host reports a failure on the webclient method call.