async function webSocketStream_Connection() { try { const wss = new WebSocketStream("wss://localhost"); const { writable, readable } = await wss.connection; // Connection established, you can now use `writable` and `readable` } catch (err) { console.error("Failed to connect, retrying in 5 seconds", err); setTimeout(webSocketStream_Connection, 5000); }}webSocketStream_Connection();