Hi,

suppose I have a potentially long running computation[1] in a plugin. It will 
be short most of the time but might be longer.

What I am looking for is a way to ensure that the computation does not block 
the main request handling thread.

Can you point me to the documentation page where I can read how this is done 
best or what approaches there are?

Based on my vague understanding, I think I could a) start a new thread or b) 
suspend the computation and hand control back to the main loop.

a) Seems inappropriate for my case because it will usually be short

Regarding b) I have no idea how to do that with TS. Is that described anywhere?

Jan

[1] Think: evaluating an expression


Reply via email to