Is there a consensus on removing Promise.jsm completely? As Benvie said, the 
majority of work will be migrating over from `sdk/core/promise.js` (sync) to 
the async Promise.jsm, which share APIs. Converting Promise.jsm to consume DOM 
Promises is pretty straight forward, and would still give us our current 
defer/all utilities, which are used extensively. 

It seems the argument that DOM Promise API produces easier to read code, which 
sometimes is the case (IMO), but other times, we really need to use deferreds 
and utilities like `all`, and perhaps other utilities from popular promise 
libraries that we may find useful in the future.

Not having a shared, promise utility library seems like a step backwards.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to