W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2013

Re: [promises] Difficulties with using constructors and promises together

From: Dimitri Glazkov <dglazkov@chromium.org>
Date: Thu, 20 Jun 2013 07:30:56 -0700
Message-ID: <CADh5Ky0z5jUEdAXePCeTEOjLw6r8pB20F=s6Cj0aHh9KxKcXag@mail.gmail.com>
To: Domenic Denicola <domenic@domenicdenicola.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, "www-dom@w3.org" <www-dom@w3.org>
On Thu, Jun 20, 2013 at 7:28 AM, Domenic Denicola
<domenic@domenicdenicola.com> wrote:
> IMO there are no great answers to this conundrum. `Foo.create` or maybe even a new `Foo.createAsync` convention might be the best way to go.

Foo.promise?

:DG<
Received on Thursday, 20 June 2013 14:31:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:21 UTC