4 ms·
Maybe they trigger timers immediately
by biokoda 11y ago
Maybe they trigger timers immediately
- kuschku 11y agoAnd how about server-side state? Imagine you use setInterval to load a new paragraph from a server, and the server only provides a new parapgraph 1200ms after the first polling?
- fridek 11y agoWaiting for all one-time async operations to finish is not unfeasible. Async loops (like pinging server for possible updates) is a tad harder.
- KMag 11y agoEach time we re-analyzed the page, we got more data and more URLs for the crawler to grab and have waiting for us the next time we analyzed that particular page. Of course, session-dependent content would get badly messed up, but that generally doesn't make useful (or at least repeatable) search results anyway. Source: I primarily did JavaScript execution for Google's indexing pipeline 2006 to 2010.
- deleted 11y ago[deleted]