[whatwg] Workers

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