At first, I thought an array of listeners would be enough, at least it is for my use-case. But perhaps there is a wider desire to have some context around the listeners returned, so I decided to return a dictionary. Let me know if you prefer this done another way.
Not convinced I'm handling the vtable stuff in a sensible way either.
Addresses #13.
At first, I thought an array of listeners would be enough, at least it is for my use-case. But perhaps there is a wider desire to have some context around the listeners returned, so I decided to return a dictionary. Let me know if you prefer this done another way. Not convinced I'm handling the vtable stuff in a sensible way either.
Otherwise, this should be a trivial change.