You can check if an event has any subscribers by null-checking a automatically generated, hidden field, if your event is called MyEvent, the field will be called MyEventEvent. That way, you can check if an event is used at all.

Sign in to participate in the conversation – a Fediverse instance for & by the Chaos community