Hi network.* experts,
does someone know in which context / how the listener function is called. Is it run in a different thread outside of the lua jvm or is it taking CPU time away from the GUI (main) thread ?
We would like to do run some decryption and decompression code in the listener function , and as this code is pretty expensive, make sure that the UI experience is not impacted.
As Lua has coroutines and no pre-emptive threading, we were wondering about the best practice to achieve this.
Thanks
Frank