-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove AsyncAlgorithms #25
Conversation
throttle -> _throttle Remove select
Hey @brzzdev, thanks for taking the time to do this. Ideally we would update this dependency so that it supports 0.0.0..<2.0.0 so that we don't mess up people using older versions of AsyncAlgorithms. But also I don't think that's even possible because we can detect between 0.x and 1.x at compile time. But also, I think we would prefer to just remove the AsyncAlgorithms dependency entirely, as well as the tests that use it. It's too much added complexity from a maintenance point of view for not much benefit. Would you want to give that a shot? |
Hi @mbrandonw, no worries. Happy to try and help :) It looks like AsyncAlgorithms is only used in ClocksTests, so unless someone explicitly pulls in that test target, it shouldn't affect their version. Tested this in a new project, pulling in swift-clocks only pulls down swift-concurrency-extras and xctest-dynamic-overlay. Still happy to try removing AsyncAlgorithms if you still think it's best, but I'd say there's value in testing how the clocks interact with it. |
@brzzdev I think we'd still prefer to remove the dependency entirely at this point. It was mainly helpful when first developing the library to validate against other code written by Apple. |
Fair enough. Besides deleting the AsyncAlgorithmsTests file, the only other test relying on it was |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
throttle -> _throttle
Remove select