Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7

Can Roku Supports Multi threading concept

Hi Friends,

One Doubt, Is Roku Support Multithreading
i facing the issue like
in first page in roposterscreen having 10 items when iam reaching 7th item I am making request to another 10 item through "HTTP request",
mean while can i navigate to rospringboadrscreen with previous items which is already in first page
0 Kudos
3 Replies
Highlighted
Roku Employee
Roku Employee

Re: Can Roku Supports Multi threading concept

While in general, Brightscript is not multithreaded, some functions are, and what you described is perfectly possible using AsyncGetToString() or other Asynchronous methods of roURLTransfer, in combination with a non-zero wait time for messages from a designated message port.

- Joel
0 Kudos
Highlighted
Level 7

Re: Can Roku Supports Multi threading concept

Thanks for reply joel,

but i am using AsyncPostFromString() but still same problem can u send me small snippet code for me for support multitasking
0 Kudos
Highlighted
Roku Employee
Roku Employee

Re: Can Roku Supports Multi threading concept

if your springboard screen is not created in a separate function, and uses the same message port, you might be able to make this work the way you want.



- Joel
0 Kudos