[whatwg] Proposal: requestBackgroundProcessing()

Glenn Maynard glenn at zewt.org
Thu Feb 20 10:50:44 PST 2014


On Thu, Feb 20, 2014 at 12:35 PM, Rik Cabanier <cabanier at gmail.com> wrote:

> This sounds like work that should be done in a worker.  Worker timers
>> aren't throttled when in the background, and this is exactly something
>> workers are for.
>>
>
> Is WebRTC available in a worker?
>

I don't know, but if not, fixing that is probably closer to the right
direction than letting people run fast timers in minimized UI threads.  If
this is just messaging of game state, he could probably do just relay that
through the UI thread, so the game simulation still takes place in a worker.

-- 
Glenn Maynard



More information about the whatwg mailing list