Connect to websocket and start accepting messages
This commit is contained in:
8
web/components/stores/eventhandlers/handleChatMessage.ts
Normal file
8
web/components/stores/eventhandlers/handleChatMessage.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import {
|
||||
ChatEvent,
|
||||
SocketEvent,
|
||||
} from '../../../interfaces/socket-events';
|
||||
|
||||
export default function handleChatMessage(message: ChatEvent) {
|
||||
console.log('chat message', message);
|
||||
}
|
||||
Reference in New Issue
Block a user