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);
}
Menu