summaryrefslogtreecommitdiff
path: root/std/examples/chat/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/examples/chat/server.ts')
-rw-r--r--std/examples/chat/server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/examples/chat/server.ts b/std/examples/chat/server.ts
index 3c968e44e..08aede05b 100644
--- a/std/examples/chat/server.ts
+++ b/std/examples/chat/server.ts
@@ -8,7 +8,7 @@ import {
const clients = new Map<number, WebSocket>();
let clientId = 0;
-async function dispatch(msg: string): Promise<void> {
+function dispatch(msg: string): void {
for (const client of clients.values()) {
client.send(msg);
}