INNER CODE UNIT · JavaScript
pathsToUpdate
AscensionGameDev/Intersect-Engine · Intersect.Server/wwwroot/js/assets.js:548
const pathsToUpdate = nodes.map(({ Path }) => Path);
await this.#loadNodes(pathsToUpdate);
startAutoRefresh();
}, autoRefreshInterval);
}
document.addEventListener('visibilitychange', () => {
this.#visible = document.visibilityState === 'visible';
if (this.#visible) {
startAutoRefresh();
} else {
clearTimeout(this.#refreshTimeout);
}
});
startAutoRefresh();
}