Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
babuhari123
Visitor

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 3
RokuJoel
Binge Watcher

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
babuhari123
Visitor

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
RokuJoel
Binge Watcher

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.