Skip to content
This repository was archived by the owner on Aug 16, 2019. It is now read-only.

Conversation

@deepakswami7
Copy link

It will be useful if we assign same listener to multiple events.
Recently I used this library in my android project with node.js and raspberry pi + arduino
I used this emitter callback function to get two events temprature and light state data,

Using previous functions i have to assign two seperate Listner functions for both of them but if we use event name which is also available in emitter class i can solve my problem. Hope you understand this what i want to say. thanks in advance and sorry for my bad english.

It will be useful if we assign same listener to multiple events.
Recently I used this library in my android project with node.js and raspberry pi + arduino
I used this emitter callback function to get two events temprature and light state data, 

Using previous functions i have to assign two seperate Listner functions for both of them but if we use event name which is also available in emitter class i can solve my problem. Hope you understand this what i want to say. thanks in advance and sorry for my bad english.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant