W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2014

Re: [whatwg] Proposal: requestBackgroundProcessing()

From: Glenn Maynard <glenn@zewt.org>
Date: Thu, 20 Feb 2014 12:32:21 -0600
Message-ID: <CABirCh-kb77YwosO1+ad=COsv4AoLwG47kj9f6ohQthjDbsWdA@mail.gmail.com>
To: Ashley Gullen <ashley@scirra.com>
Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>, James Robinson <jamesr@google.com>
On Thu, Feb 20, 2014 at 12:02 PM, Ashley Gullen <ashley@scirra.com> wrote:

> The host needs to keep simulating the world even when no network events are
> occurring. That can't happen if rAF isn't firing and timers only run at 1
> Hz.

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.

Glenn Maynard
Received on Thursday, 20 February 2014 18:32:48 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:16 UTC