W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: [File API] events vs callbacks (was: Re: New FileAPI Draft | was Re: FileAPI feedback)

From: Jonas Sicking <jonas@sicking.cc>
Date: Thu, 6 Aug 2009 11:31:44 -0700
Message-ID: <63df84f0908061131o5ed38a53lcd53c0634ec36a6e@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: arun@mozilla.com, Garrett Smith <dhtmlkitchen@gmail.com>, Web Applications Working Group WG <public-webapps@w3.org>
On Wed, Aug 5, 2009 at 4:26 AM, Anne van Kesteren<annevk@opera.com> wrote:
> On Wed, 05 Aug 2009 10:04:28 +0200, Arun Ranganathan <arun@mozilla.com>
> wrote:
>> In the case of file read APIs, simply getting the data asynchronously is
>> more convenient than using events.  There is no intrigue at work here,
>> merely disagreement.
> I could imagine that for reading data you might want to have events though
> so that in the future we can introduce progress events if that is found
> necessary. E.g. if the actual file is not on the same computer as where the
> user selected it.

Do you have a proposal for what this would look like? I'm not excited
about creating something that's significantly more complex than the
current API.

/ Jonas
Received on Thursday, 6 August 2009 18:32:45 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:18 UTC