Hello everyone. I needed a timer that would run the code on a secondary thread and couldn't find a component to do it, so I wrote it myself. You can find the code here.
https://github.com/XinYiMan/threadtimerYou can also find an example in the example subfolder. I created it because I'm writing software to query a JSON server (written with the fpweb package). In the timer, I call the server to retrieve the JSON recordset (I compare the string hash with the hash retrieved in the previous read and saved in the State property. If the hashes are different, I trigger the OnAfterTimer event, which updates the values in the form components). I'm open to suggestions for improving the component. For now, I've tested it on Windows and Linux Mint.