How does vue call functions asynchronously?

problem description

the problem encountered now is that when executing a more complex method, clicking app other events cannot be executed, and you have to wait for the last method to finish execution before clicking.
feels like blocking, so I would like to ask how to call the function asynchronously?

Jun.14,2021

you want the entire function execution to be asynchronous only with the help of worker. In this case, you can use inline worker .


  

use the callback function

Menu