Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

complete or remove event emitter #17

Open
AlmirKadric opened this issue Aug 18, 2015 · 1 comment
Open

complete or remove event emitter #17

AlmirKadric opened this issue Aug 18, 2015 · 1 comment

Comments

@AlmirKadric
Copy link
Collaborator

Right now we have an event emitter, however this is not quite the way C# handles events.
They use a predefined delegate per event, thus each event is explicit.

Either we need to move the entire sdk to do this, or we need to complete the event emitter to be a fully fledged event emitter class.

Missing event emitter functions:

  • listenerCount(eventName)
  • off(eventName, hander) (aka: removeListener)
  • removeAllListeners(optional eventName)
@stelcheck
Copy link
Member

@nullorvoid comments or suggestions welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants