R
R
RxApi
Search…
Events
Files in "./sockets/events.js"
module.exports = (socket, db) => {
socket.on('hello', data => {
console.log(`Hello ${data.name}`);
});
};
Copy link