-
-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(queued-request-controller): Remove
countChanged
event (#3985)
## Explanation The event `QueuedRequestController:countChanged` and the method `length` have been removed. Both the event and method were deprecated as part of #3919, which also provided an alternative by adding the queued request count to the controller state. ## References Related to #3919 ## Changelog ### `@metamask/queued-request-controller` #### Removed - **BREAKING**: Remove the `QueuedRequestController:countChanged` event - The number of queued requests is now tracked in controller state, as the `queuedRequestCount` property. Use the `QueuedRequestController:stateChange` event to be notified of count changes instead. - **BREAKING**: Remove the `length` method - The number of queued requests is now tracked in controller state, as the `queuedRequestCount` property. ## Checklist - [x] I've updated the test suite for new or updated code as appropriate - [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [x] I've highlighted breaking changes using the "BREAKING" category above as appropriate
- Loading branch information
Showing
3 changed files
with
2 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters