Search code examples
javascriptevent-handlingwindows-store-appswinjs

What events can be added using addEventListener to WinJS.Promise?


While exploring WinJS.Promise object, I noticed it has options to addEventListener to it. But I didn't find what kind of events that can be added to it ?

Everywhere I found

WinJS.Promise.addEventListener(type, listener, capture);

So I am looking for the hint/link/reference of events that can be added to WinJS.Promise object.

Thanks !!


Solution

  • the promise object only have the error event http://msdn.microsoft.com/en-us/library/windows/apps/br211867.aspx#events