- Added:
TestScheduler.advance(to:)
, for advancing to a specific moment in time (thanks @ytyubox). - Added: Async-friendly versions of
TestScheduler
'sadvance(by:)
,advance(to:)
, andrun()
methods, which yield time to cooperative concurrency while scheduling work. - Added: Async-friendly functions for sleeping and running timers:
Scheduler.sleep(for:)
andScheduler.timer(interval:)
.