advanceTime(to:)

Runs the event loop and moves “time” forward to the given point in time, running any scheduled tasks that need to be run.

AsyncTestingEventLoop.swift:263
iOS
13.0+
macOS
10.15+
tvOS
13.0+
watchOS
6.0+
func advanceTime(to deadline: NIODeadline) async