W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

Re: [IndexedDB] Explaining Asynchronous event-style interface

From: Shawn Wilsher <sdwilsh@mozilla.com>
Date: Thu, 22 Apr 2010 16:09:53 -0700
Message-ID: <4BD0D741.6020705@mozilla.com>
To: Nikunj Mehta <nikunj@o-micron.com>
CC: public-webapps WG <public-webapps@w3.org>, Ben Turner <bent@mozilla.com>
On 3/30/2010 1:37 PM, Shawn Wilsher wrote:
> Having open return an IDBRequest and not having the request property on
> IndexedDatabaseRequest would solve this problem. I'm going to prototype
> an implementation in Mozilla this way to see if any issues come up, but
> I don't currently foresee any.
Does anybody object to having all the asynchronous methods return an 
IDBRequest instead of having to access the property on the parent 
object?  This change greatly reduces the code complexity (Ben Turner has 
converted the sample code to it and it's much easier to read/follow). 
If not, I'll file a bug to have the spec updated.



Received on Thursday, 22 April 2010 23:08:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:07 UTC