seneca icon indicating copy to clipboard operation
seneca copied to clipboard

seneca can support async/await methods?

Open arden opened this issue 8 years ago • 4 comments

seneca can support async/await methods?

arden avatar Feb 13 '17 16:02 arden

HI @arden promisify like http://senecajs.org/docs/tutorials/seneca-with-promises.html and since async/await supports promises/generators this should great work.

StarpTech avatar Mar 05 '17 12:03 StarpTech

Now the year is 2017, I think the async/await api should be the first class members of seneca.

Things can go up from the very basic and nature part. For example, add and act. How about allowing add receive async handler? how about returning a promise if act did not receive a callback?

zhaoyao91 avatar Jul 12 '17 07:07 zhaoyao91

2019 already, could you pls help to support async/await officially?

amoxu avatar Feb 15 '19 06:02 amoxu

Do you have plan to support async/await ??

zhonggithub avatar Nov 25 '19 03:11 zhonggithub