W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2008

[whatwg] Workers

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 13 Nov 2008 08:26:38 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0811130826190.1041@hixie.dreamhostps.com>
On Thu, 13 Nov 2008, David Levin wrote:
> >
> > I don't really see the use case for self-reloading. Do scripts 
> > self-reload in general?
> 
> For people who want to update script in SharedWorker, could they do it 
> by making the SharedWorker merely a shell?
> 
> The SharedWorker would create a Worker to do everything.  If a reload is 
> needed, then the SharedWorker closes the Worker and starts it again 
> (just like the dedicated worker method described above).

Yes, that would work.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 13 November 2008 00:26:38 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:07 UTC