You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7e0f2e4449
The fetchData function suffer from a race condition. If the function is called before the promise finishes, it will result in another pair of HTTP request. This does not only make the function useless but Actually, it makes it harmful as the data might be redownloaded twice. Now fetchData is not a function but rather the promise by itself. Previous callers are expected to await the variable instead, this should be not concern as awaiting a promise multiple time in JavaScript is completely safe. |
3 years ago | |
---|---|---|
.. | ||
backlinks.html | 3 years ago | |
contact.html | 3 years ago | |
darkmode.html | 3 years ago | |
footer.html | 3 years ago | |
graph.html | 3 years ago | |
head.html | 3 years ago | |
page-list.html | 3 years ago | |
popover.html | 3 years ago | |
search.html | 3 years ago |