event-source-library
event-source-library copied to clipboard
wildcard events
Currently events are matched with tokens e. g. in buffer_event() we expect target to be set. Is there a way to define 'wildcard' events? Such an event should be dispatched to every connected client regardless of a token.
To be honest, I don't remember much whether I did implement such a feature. But I don't think I had a use for it, so I might not.
If you implement it, I'd be happy to accept a PR though :)
I've workarounded it by just hardcoding app-specific prefix for the time being :)