You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## 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
0 commit comments