BUI: Is IExtensionPromise Promises/A+ compliant?
Content
Hi,
I was using IExtensionPromise interface to handle some asynchronous operations with a BUI extension. I noticed that the behavior of IExtensionPromise slightly differs from that of native JavaScript Promise.
IExtensionPromises behave more like pre-3.0 jQuery's promises. It has the same 'Error Handling' problems as described in this stackoverflow post about jQuery promises. Due to these issues, I was considering using the native Promise for my extension. I have these questions,
- Is IExtensionPromise Promises/A+ compliant?
- Would using native JavaScript Promise instead of IExtensionPromise pose any issues/risks with my program?
- Is there any inherent benefit or extra capability provided by the Extensibility framework's IExtensionPromise?
Tagged:
1