Timer within a Task returns on Render, not Task thread
I have a timer I'd like as a part of a task. However, the timer returns back on a render thread, not the Task thread, and therefore I can't do any of the stuff that's not available on a SceneGraph render thread.
Is there any way around this? For reference, I'm doing a simple "Every 5 seconds make a network request" inside a standalone task.
Re: Timer within a Task returns on Render, not Task thread
If you really want to use a Timer component, you can. In the Timer event-handler, set a Task interface field value, which you can observe for changes in the Task run function. When the interface field changes, your Task can issue its next request.