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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e541-2c3ed.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e541-2c3ed.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?