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

On Wed, Aug 5, 2009 at 4:26 AM, Anne van Kesteren<> wrote:
> On Wed, 05 Aug 2009 10:04:28 +0200, Arun Ranganathan <>
> 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