Re: [whatwg] Proposal: createImageBitmap should return a "Promise" instead of using a callback

On Thu, Jun 20, 2013 at 11:08 PM, Justin Novosad <junov@google.com> wrote:
> I agree it would be nicer, but it seems less consistent with other existing
> APIs.

The factory methods we have thus far should probably not be taken as
precedent. Almost nobody likes them. URL.createObjectURL() is somewhat
like this, although it returns a string and not a URL object.


--
http://annevankesteren.nl/

Received on Friday, 21 June 2013 01:44:47 UTC