Forum Discussion
tim_beynart
8 years agoChannel Surfer
you create an instance of your task in the render thread logic, then run it.
for example, you could write a task called "http_request"
in the code for a screen (which is in the render thread), you do something like this:
for example, you could write a task called "http_request"
in the code for a screen (which is in the render thread), you do something like this:
task = CreateObject("roSGNode", "http_request")
task.observeField("response","someFunctionThatHandlesResponses")
task.url = url
task.control = "RUN"