【文件属性】:
文件名称:特快:快递包裹的支持方式
文件大小:8KB
文件格式:ZIP
更新时间:2021-02-06 04:39:31
support api app package express
支持方法。
是否需要使用异步处理快递路线中的错误?
const express = require ( 'extra-express' ) ;
const http = require ( 'http' ) ;
const app = express ( ) ;
const server = http . createServer ( app ) ;
const sleep = ( ms ) => new Promise ( fres => setTimeout ( fres , ms ) ) ;
app . get ( '/' , express . async ( async ( re
【文件预览】:
extra-express-master
----_test.js(318B)
----.npmignore(37B)
----LICENSE(1KB)
----README.md(777B)
----.gitignore(914B)
----_config.yml(28B)
----index.js(329B)
----package-lock.json(13KB)
----package.json(747B)