Replies: 1 comment 3 replies
-
Huh, I thought this would have worked, but sadly it seems that Swift's existentials are not powerful enough for this. This is a pretty big bummer. I think the only way to work around is to use the for await objects in await fetcher().stream.debounce(for: .seconds(0.3), clock: _AnyClock(clock)) {
…
} We thought we could keep |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use swift-async-algorithms in Reducer to make some adjustments to async sequences.
However, the default clock Key provided by Dependency cannot be used directly in the method, prompt:
Type 'any Clock<Duration>' cannot conform to 'Clock'
Excuse me, how to combine the two together?
Beta Was this translation helpful? Give feedback.
All reactions