Closed kutuluk closed 6 years ago
No its not necessary for me, I was using it for convenient way of seeing that the processing was done correctly. I thought that it could be useful for some people to see that a particular message was dropped and may have some alternative server to send those messages .
If we start using a test framework soon we not need things like this to test that we are thinking correctly :)
I vote drop it for now. If we need it later, we add it.
If we start using a test framework soon we not need things like this to test that we are thinking correctly :)
Test will be possible without this functionality. We know inbound messages on the client and received messages at the server. It is easy to determine which messages have been dropped.
@Looooopy
console.log(msg) will be called in any case by the loglevel. Is it really necessary to have an onMessageDropped handler? I just do not want to complicate the API without the urgent need.