client.on connect code example
Example: client.connect()
client.connect().then(()=>{
app.listen(PORT, ()=>console.log(`App is listening to port${PORT}`));
})
client.connect().then(()=>{
app.listen(PORT, ()=>console.log(`App is listening to port${PORT}`));
})