How to transfer parameters asynchronously by js?

I have several asynchronous function operations, but I want these asynchronous operations to be performed sequentially, I want to use queues, and each function needs to pass parameters. I think of the middleware of koa2, but how do I implement it? Or is there any other way.
Thank you.


the async/await of es7 can be used to realize

.
async callme() {
   const result_a = await doActionA(param1);
   const result_b = await doActionB(param2, param3);
   const result_c = await doActionC(param3);
}
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-1bed7e8-310c8.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-1bed7e8-310c8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?