提交 79c88a46 编写于 作者: B Bert Belder

http: remove unnecessary await in listenAndServe()

Original: https://github.com/denoland/deno_std/commit/d1971241d90bdb7fcb612e2d922ed99a0419e2f4
上级 a58d7943
......@@ -312,7 +312,7 @@ export async function listenAndServe(
const server = serve(addr);
for await (const request of server) {
await handler(request);
handler(request);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册