You want a function which includes a wait to run in its own thread, so when calling this function from another function, it does not wait for the function to finish?
If this is correct, I am sorry, there seems to be no other way than using a trigger and globals.
In Gui there is an option to run an action in its own thread, however in Galaxy this translates into exactly the same thing, a trigger and a bunch of globals.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I am not sure, if i got what you mean.
You want a function which includes a wait to run in its own thread, so when calling this function from another function, it does not wait for the function to finish?
If this is correct, I am sorry, there seems to be no other way than using a trigger and globals.
In Gui there is an option to run an action in its own thread, however in Galaxy this translates into exactly the same thing, a trigger and a bunch of globals.