Completes after duration of virtual time.
duration
Future<void> wait(Duration duration) => Future<void>.delayed(duration);