performSelectorAfterDelay Functions


#1

Hello, I have been using juce for a few days now and I was wandering if there was a juce version of the cocoa functions performSelectorAfterDelay and performSelectorOnThread so that I can call functions after say a 400ms delay.

Thanks,
Natfoth


#2

I use the Timer class for that kind of thing.

It’ll be nice when everyone’s got access to C++11 features, because then I’ll be able to add something like this using a lambda function.