mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
Remove await
from respond in http_bench.ts (#324)
This commit is contained in:
parent
2b6222be9a
commit
1ea76ca797
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ const body = new TextEncoder().encode("Hello World");
|
|||
|
||||
async function main(): Promise<void> {
|
||||
for await (const request of server) {
|
||||
await request.respond({ status: 200, body });
|
||||
request.respond({ status: 200, body });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue