-
-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added options to PollingController to help handle cases where the Con…
…troller need more than just networkClientId (#1776) ## Explanation Adds `options` parameter passed around to allow a unique key to be derived per networkClientId + option combination. This handles cases where a Controller need more than just networkClientId to poll on, like an `address` for example. Fixes https://github.com/MetaMask/MetaMask-planning/issues/1406 ## Changelog ### `@metamask/polling-controller` - **ADDED**: options to PollingController Mixin to help handle cases where a Controller need more than just networkClientId --------- Co-authored-by: Alex Donesky <[email protected]>
- Loading branch information
1 parent
033bba6
commit d53d83a
Showing
4 changed files
with
120 additions
and
54 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
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