1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-13 09:32:24 -05:00

http: remove unnecessary await in listenAndServe()

This commit is contained in:
Bert Belder 2019-05-20 17:08:39 -07:00
parent 301c12d9d2
commit d1971241d9
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461

View file

@ -312,7 +312,7 @@ export async function listenAndServe(
const server = serve(addr);
for await (const request of server) {
await handler(request);
handler(request);
}
}