AsyncUpdater ... alternatives


#1

I’ve been finding AsyncUpdater really handy recently. If i’ve out grown it in a class and need different types of updates triggered on the message thread is there anything else in the toolkit that works without too many lines of code? The MultiAsyncUpdater? :slight_smile:


#2

Maybe MessageManager::callAsync() ?

Or roll your own quick AsyncUpdater subclass which calls a lambda?


#3

Yeah, thats what I was about to do … just sort of didn’t believe you hadn’t already done it for me that’s all;_)


#4

Oh hang on, you mean this:

Mmmm, do you need an || DOXYGEN in there on the conditional or something??


#5

Hmm, good point!


#6

Yeah, no wonder I’d missed it;-)