:origin()/pre09/5c9d/th/pre/i/2015/261/4/8/windows95programsicon_by_scorpiongamer01-d9a1oi6.png)
mape
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2017
03:58 AM
'Sleep' doesn't work
print "onSetSponsorLogo 1"
Sleep(2000)
print "onSetSponsorLogo 2"
Above is the code.
Both "prints" outputs immediately, no pause. Why?
The code invoked in my own component, in field change handling (via 'observeField').
1 REPLY 1
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2017
11:22 AM
Re: 'Sleep' doesn't work
I am fairly certain this is intentional - but surprised there is no runtime error.
In no event should the render thread be delayed (think hot potato).
In no event should the render thread be delayed (think hot potato).