W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2011

Re: [WebIDL] Simplify callbacks

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 09 Nov 2011 08:49:12 -0700
To: "Robin Berjon" <robin@berjon.com>
Cc: public-script-coord@w3.org, "David Flanagan" <dflanagan@mozilla.com>
Message-ID: <op.v4oucasr64w2qv@annevk-macbookpro.local>
On Wed, 09 Nov 2011 09:32:57 -0700, Robin Berjon <robin@berjon.com> wrote:
> It's not 100% clear to me whether you wrote "Callback(Event)?" to mean  
> "CallbackEvent or just Callback" or as a nullable Callback parameterised  
> with Event. If the latter (which I think is the case), I believe that  
> David is suggesting Callback<Event> for consistency with sequence<Foo>.

I meant that it would either take a callback or null and that the callback  
is passed an Event object as argument when invoked.

Anne van Kesteren
Received on Wednesday, 9 November 2011 16:50:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:04 UTC