WalletConnectSwiftV2
WalletConnectSwiftV2 copied to clipboard
Make `asyncForEach` internal
Description
Makes the asyncForEach function in the Sequence extension internal instead of public. The function is only used internally in two private functions, so it doesn't need to be public. If it's public it can clash with extensions of the same name in any projects that use this library.
It also isn't really the purpose of this library to be vending general purpose Sequence extensions.
How Has This Been Tested?
No need to test, only used in 2 private functions internal to WC SDK.
Due Dilligence
- [ ] Breaking change
- [ ] Requires a documentation update
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
@llbartekll why did you close this? AFAICT this issue still exists and the fix is very simple.
but it breaks the project as this method is imported by other modules
Ok, that's fair enough. You could have mentioned that in the comment for why the PR is being closed 👍