socket.io.wait
Adds a promise to emit in socket.io
// Lets you emit and get a response rather than make a second// callback to listen for the resultlet result = await socket; forlet row of resultrows console; // old way socket; socket;