-
- Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
controller、service 等都已经支持 async function 了,现在 egg 核心中剩下各处中间件的改造,插件现阶段不适合进行改造。
- egg 加载的中间件。
- router 中引入的中间件。
- 应用自行通过
app.use(mw)引入的中间件。 - schedule 插件(现在应该是支持的,需要增加测试用例保证)。feat: task support async function schedule#13
- multipart 插件。feat: getFileStream return promise multipart#3
- 集成 aa 的测试用例。test: add async test case #339
- ctx.curl 和 app.curl 的支持 feat: curl return promise #342
- render 相关方法的支持 feat: view base promise to support async function #343
- 如何在 egg 中使用 aa 的文档 docs: add async await #349