The following code doesn't print hello after the delay.
Anything wrong ?
 func delay(seconds delay:Int, closure:@escaping ()->()) {
    DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + .seconds(delay)) {
        closure()
    }
}
delay(seconds: 5) { 
    print("hello")
}
 
     
    