summaryrefslogtreecommitdiff
path: root/ws/example_client.ts
diff options
context:
space:
mode:
authorAxetroy <axetroy.dev@gmail.com>2019-06-19 12:22:01 +0800
committerRyan Dahl <ry@tinyclouds.org>2019-06-18 21:22:01 -0700
commitc85b1c06a9804ad41fbccf8fe5a5689f28eb049e (patch)
treee855fc7c02baaa219aa81a2a54a69b19c1fb3716 /ws/example_client.ts
parentd6e92582cc2267210f71e893b14672783301f87b (diff)
lint: add max line length rules (denoland/deno_std#507)
Original: https://github.com/denoland/deno_std/commit/b04fda30c8949b6347094b898bfa427c0b9a6162
Diffstat (limited to 'ws/example_client.ts')
-rw-r--r--ws/example_client.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/ws/example_client.ts b/ws/example_client.ts
index c2be9d76e..cdb482410 100644
--- a/ws/example_client.ts
+++ b/ws/example_client.ts
@@ -42,7 +42,8 @@ async function main(): Promise<void> {
} else {
await sock.send(line);
}
- // FIXME: Without this, sock.receive() won't resolved though it is readable...
+ // FIXME: Without this,
+ // sock.receive() won't resolved though it is readable...
await new Promise((resolve): void => setTimeout(resolve, 0));
}
await sock.close(1000);