Ask for suggestions about background tasks
I’ve the need to handle some time (and resource) consuming background task in our app.
I’ve the need to allow user to navigate from page to page, but having a little indicator on the top [in the main layout file] that show progression of what is happening behind scenes.
The problem is not here.
The problem is HOW to keep a long task running in background in a quasar app.
I could use a boot file to start the task, but I need to avoid UI blocks.
If any, could you sdhare with me any suggestions?
metalsadman last edited by
@realtebo try to reasearch about web workers. Those run on separate thread.
dobbel last edited by
Here’s an solution to offload expensive task to web workers: