表达-然后 具有承诺支持的处理程序。 例子 const then = require ( 'express-then' ) app . get ( '/' , then ( async ( req , res ) => { await foo ( ) await bar ( ) res . end ( ) } ) )
评论0
最新资源