jfhbrook / pyee

A rough port of Node.js's EventEmitter to Python with a few tricks of its own
https://github.com/jfhbrook/public
MIT License
371 stars 39 forks source link

added function that returns an array listing the events #96

Closed leirons closed 2 years ago

leirons commented 2 years ago

In node js we can emitter.eventNames() that returns array of events, so i added the function that returns name of events

jfhbrook commented 2 years ago

I have this some light rework and pushed it as #99. I intend to publish this in release 9. Thanks!