core
core copied to clipboard
Add `clearSubscriptions` to RestrictedMessenger to clear handlers for a given namespace
Being able to clear all event handlers for a given event name is nice, but specifically in tests, it can be tedious. It would be nice to have a method to clear all event subs, without providing a name.