Add `clearSubscriptions` to RestrictedMessenger to clear handlers for a given namespace
Open
enhancement
team-wallet-framework
wf-general-dx
- Dominant language
- TypeScript
- Stars
- 413
- Forks
- 308
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 253
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating RestrictedMessenger and its existing subscription-clearing behavior. Check the messenger test setup for namespace and event-handler cases, and confirm completion when the new API clears all subscriptions without requiring an event name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100