When you add time-based asynchrony to a Swift feature, good luck testing it! You’re often led to literal Task.sleeps in your suite, making it slow and flakey all at once.
But did you know it’s possible to make Task.sleep completely synchronous, without a single thread hop?
See how a “nonisolated(nonsending)” clock can make asynchronous work like Task.sleep completely synchronous: https://www.pointfree.co/episodes/ep355-beyond-basics-isolation-copyable-escapable
