Is there any API? in JS's task queue?

We all know that the setTimeout method can insert callbacks into the task queue of the js engine after interval, so is there a specific method for "insert" that the front-end engineer can get and use?
because I think that after we get this method, we can write some asynchronous programming frameworks ourselves.
Thank you for your help!

Mar.09,2021

does not, because if the browser allows you to operate the task queue
, then the third-party js is even more insecure and scary. For the sake of security, it can only reduce your operability


this is what the existing asynchronous programming solutions do, but it is a standard level, and independent development is basically hopeless

.
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-1befc91-54905.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-1befc91-54905.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?