Is there any way to implement a multi-threading execution in Javascript. I am implementing a pagination in my application, with a target of the minimum waiting time for the user. Neither I want all the data to be brought to the client-side in one go, nor do I want to make a server as well as a DB hit on every "next/previous" button clicked. So I want the browser to create a request and update my data list, while the front end user has not reached the last page.
If there is anyone who has implemented this, then please suggest me.