I wanted to handle first message differently then the rest: ``` const messageHandler = message => { handleDifferently(message); ws.onmessage = anotherMessageHandler; }; ws.onmessage = messageHandler; ``` ``` cWS does not support multiple listeners for the same event. Old listener for 'message' event will be overwritten ``` Expected: no warning issued
I wanted to handle first message differently then the rest:
Expected: no warning issued