No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Ask for suggestions about background tasks

    Help
    3
    3
    311
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      realtebo last edited by

      Hi !

      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 dobbel 2 Replies Last reply Reply Quote 0
      • metalsadman
        metalsadman @realtebo last edited by

        @realtebo try to reasearch about web workers. Those run on separate thread.

        1 Reply Last reply Reply Quote 0
        • dobbel
          dobbel @realtebo last edited by

          @realtebo

          Here’s an solution to offload expensive task to web workers:

          https://forum.quasar-framework.org/topic/6840/web-workers-how-to-use-in-quasar?_=1601124878660

          https://github.com/developit/workerize-loader

          1 Reply Last reply Reply Quote 0
          • First post
            Last post