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:
Philippe Hausler authored and GitHub committed 2022-03-11 16:24:08 -08:00
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 { }