Instance Method
wait(seconds:)
Blocks the current thread for the specified number of seconds.
func wait(seconds: Double)
Parameters
secondsThe number of seconds to wait for.
Discussion
console.wait(seconds: 3.14)
Warning
Do not use this method on an EventLoop. It is for testing purposes only.