I've noticed that if we use client.on('data... anywhere in our codebase, it will be triggered for all data that the client receives. There is no way to prevent a piece of data from propagating to other listeners that we are not necessarily trying to communicate with.
I've noticed that if we use
client.on('data...
anywhere in our codebase, it will be triggered for all data that the client receives. There is no way to prevent a piece of data from propagating to other listeners that we are not necessarily trying to communicate with.