Last active
March 30, 2020 20:53
-
-
Save jamigibbs/c9a42ccdf13eb9ca215b1d7f9b4e0bd8 to your computer and use it in GitHub Desktop.
Server socket on input
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
socket.on('transmit', () => { | |
io.emit('chatupdated'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment