Re: Sync API for workers

On Sun, 2 Sep 2012, Andrew Wilson wrote:
> 
> Just wanted to point out that all of the arguments for a wait-for-reply API
> in workers also apply to SharedWorkers. It's trickier for SharedWorkers
> since they use MessagePorts

Dedicated Workers use MessagePorts too, they're just embedded in the 
WorkerGlobalScope and the API exposed through that interface, so that you 
can't send the port's endpoint around. But it's literally defined in terms 
of a MessagePort.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Sunday, 2 September 2012 21:29:38 UTC