[whatwg] executeSql API is synchronous

Ian Hickson ian at hixie.ch
Mon Sep 24 21:18:50 PDT 2007


On Sun, 23 Sep 2007, David wrote:
> 
> Can someone point me out when the SQLCallback is called exactly ?
> Is it when the ResultSet is full or, as soon as the first row is available ?

I've tried to make this clearer now.


> What if I want to handle the RS by blocks of 100 rows ?

Why wouldn't you just want to do everything?


> Wouldn't it be better to let the developer control the threading 
> behaviour of his I/O accesses ?

Generally no. :-)


> Will the worker-thread API be developed ?

Yes.

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



More information about the whatwg mailing list