On 11/17/16, 11:21 AM, "Harbs" <harbs.li...@gmail.com> wrote:

>> It looks like Promise does implement Ithenable.
>Yes. I know.
>
>I did not word that very well. I’m not sure what I meant. I was probably
>talking about the AS3 implementation. I’m currently thinking that Promise
>should implement IPromise which inherits from IThenable and ICatchable.
>Is there a way of declaring static functions in interfaces (i.e.
>IPromise.resolve(), IPromise.reject(), IPromise.all())?

Static functions?  Why wouldn't they be instance methods.  Interfaces in
AS3 can only handle public instance functions.

>
>I’m not sure what you mean about not using es6. The definitions seem to
>be picked up from there.

Interesting.  I thought we weren't using ES6.  Does that mean that to use
Promise in the browser we have to do something to turn on ES6 support?

-Alex

Reply via email to