On 7/30/13 7:43 AM, Boris Zbarsky wrote:
On 7/30/13 7:20 AM, janjongb...@gmail.com wrote:
But is it possible to have a promise as a return type in my .idl file
(b2g)?

Just list it as nsISupports in the .idl.  XPConnect will do the right
thing.

Ignore the above; I thought you were talking about Gecko's Promise implementation, not a manual impl in JS.

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to