summaryrefslogtreecommitdiff
path: root/tests/testdata/run/websocketstream_ping_test.ts
blob: a4b68446838523343a9c4794eb39d455f6275dc7 (plain)
1
2
3
4
5
const wss = new WebSocketStream("ws://127.0.0.1:4513");
const { readable } = await wss.opened;
for await (const _ of readable) {
  //
}