When have all AppTasks finished?

Hello,



does someone know if there is a possibility to wait until all AppTasks in the queue which can be filled with

[java]



application.enqueue(new Callable<Void>(){



});



[/java]



have been finished, i.e. to determine when the AppTaskQueue is empty?

I didn’t find such a method. Would it be useful to have something like this for parallel Thread programming?

Thanks.



Regards,

Equi

Its empty after each update call, so not really useful, no…