diff --git a/examples/async/src/server.ts b/examples/async/src/server.ts index 50030a69..fd1fe70e 100644 --- a/examples/async/src/server.ts +++ b/examples/async/src/server.ts @@ -60,6 +60,8 @@ async function handleRequest( for await (const chunk of tsonStringifyAsync(obj)) { res.write(chunk); } + + res.end(); } const server = http.createServer(