summaryrefslogtreecommitdiff
path: root/std/http/racing_server.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /std/http/racing_server.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/http/racing_server.ts')
-rw-r--r--std/http/racing_server.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/http/racing_server.ts b/std/http/racing_server.ts
index 67db029e0..1770443af 100644
--- a/std/http/racing_server.ts
+++ b/std/http/racing_server.ts
@@ -10,7 +10,7 @@ function body(i: number): string {
}
async function delayedRespond(
request: ServerRequest,
- step: number
+ step: number,
): Promise<void> {
await delay(3000);
await request.respond({ status: 200, body: body(step) });
@@ -24,7 +24,7 @@ async function largeRespond(request: ServerRequest, c: string): Promise<void> {
async function ignoreToConsume(
request: ServerRequest,
- step: number
+ step: number,
): Promise<void> {
await request.respond({ status: 200, body: body(step) });
}