A Jucey way to delay functions calls?


#1

Hello there!

Is there a way to call a function after a desired time? I'm looking for something like performSelector: afterDelay: in OSX/iOS.

Thanks!


#2

I just kick off a Timer object when I need that.

(Of course, when enough people have got access to C++11 features, it'll be great to be able to add a lambda-based function for this)


#3

Great, that's what I usually do myself.

Thanks!