Re: [promises] Difficulties with using constructors and promises together
Anne van Kesteren <[email protected]>
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <CADnb78joXRU6wjm=YSAnMK+01pasoJo5qGFwmgtGtZT0ujR-Uw@mail.gmail.com> |
On Thu, Jun 20, 2013 at 7:32 AM, Tab Atkins Jr. <[email protected]> wrote: > Is this just what we'll have to do? Whenever an object can only be > created async, we have to add an "Interface.create()" function? Or is > there a better solution floating around somewhere that I can't see? Yeah, that's what I suggested to Ian: promise = ImageBitmap.create(...) Not really sure what else you can do, but maybe public-script-coord has ideas. -- http://annevankesteren.nl/