getSessionInfo() : Promise< SessionInfo >
Returns the cached session info object and caches it for future use. Once fetched the session info object is cached and returned from the cache on subsequent calls. This cache is cleared when inti is called OR resetCachedSessionInfo is called.
Returns
Promise< SessionInfo >
const sessionInfo = await getSessionInfo();
console.log(sessionInfo);
@version SDK: 1.28.3 | ThoughtSpot: * @returns {Promise<SessionInfo>} The session info object.
Defined in : utils/sessionInfoService.ts