atlas-engineer / cl-electron

Lisp Interface to Electron.
BSD 3-Clause "New" or "Revised" License
16 stars 1 forks source link

JavaScript events triggered for all events #22

Closed jmercouris closed 7 months ago

jmercouris commented 7 months ago

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.

aadcg commented 7 months ago

@jmercouris this wasn't closed automatically because you need to write in the PR's description Fixes #<nr>.

jmercouris commented 7 months ago

I see, I thought perhaps the parser was smarter!