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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 05 Aug 2009 13:26:25 +0200
To: arun@mozilla.com, "Garrett Smith" <dhtmlkitchen@gmail.com>
Cc: "Web Applications Working Group WG" <public-webapps@w3.org>
Message-ID: <op.ux6sqbrv64w2qv@anne-van-kesterens-macbook.local>
On Wed, 05 Aug 2009 10:04:28 +0200, Arun Ranganathan <arun@mozilla.com>  
> 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.

Anne van Kesteren
Received on Wednesday, 5 August 2009 11:27:15 UTC

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