Long Functions with anvil.server.TimeoutError: Server code took too long

Something like that would be a way to asynchronously load the data for your page, if you choose to structure it that way.

You could have one anvil.server.call('launch_all_tasks') function that could return a group of task objects that could be launched from inside the server module and returned.

You can also create timer objects directly from code on-the-fly without adding them to the GUI part of the IDE. They can even be written to delete themselves once they are done loading the results of your background tasks.

Here is an example of this behavior taken to the extreme (with a clone example)