Background tasks, UI unresponsive

I want to execute a background task and while the task is executing, the UI is unresponsive. Do you have a solution?

The setup is the following:
I’ve used the scheduler plugin to execute the task in background. The plugin calls a global method that handles the background task. The method downloads and stores on disk many images. The process can last a few minutes and during that time the UI is not really usable. By the way, the task does not update the GUI at all.

What I would like is to execute this task in its own thread. I’m wondering if the UI is slowed because the method executes in the javascript thread…

The method downloads and stores on disk many images

That is a task for the Data Stream plug-in. It will do exactly what you want!

More info can be found here: http://www.it2be.com/plugins.htm#datastream

Well, I wanted to know if Servoy is able to do this out of the box. May be there is something that I don’t know.

I’m myself a Java developer, so I can build a plugin to do this in no time.

I don’t know if they do but it kinda make sense that methods run in 1 thread. You don’t want one method to set a global and use it further along the method and another method change it as well along the way.
This is just one example but I can think of many others.

So the answer is: No, Servoy can’t do it?

That is the answer indeed…