system.util.invokeAsynchronous with parameters

Hi,
I need to invoke a Python function with parameters asynchronously : any idea other then global variables? As far as I can see, the invokeAsynchronous function does not accept any parameters.
Thank you in advance,
regards

You should be able to use the partial method from functools; see this thread: inductiveautomation.com/forum/v … d59#p35367

Some more discussion of this topic here and here.

Ok, thank you pturmel, very nice solution!