mirror of
https://github.com/apple/swift-async-algorithms
synced 2026-11-26 04:37:48 +00:00
Remove clock stubs and use the _Concurrency provided Clock APIs (#78)
* Remove the clock stubs * Add default implementations using clocks
This commit is contained in:
1 parent
4b11faad62
commit
307118031e
12 files changed
+26
-1151
No files matched your search
@@ -73,13 +73,12 @@ extension AsyncTimerSequence {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
extension AsyncTimerSequence where C == SuspendingClock {
|
||||
public static func repeating(every interval: Duration, tolerance: Duration? = nil) -> AsyncTimerSequence<SuspendingClock> {
|
||||
return AsyncTimerSequence(interval: interval, tolerance: tolerance, clock: SuspendingClock())
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
extension AsyncTimerSequence: Sendable { }
|
||||
extension AsyncTimerSequence.Iterator: Sendable { }
|
||||
Reference in new issue
Block a user