Promise.addEventListener method
Adds an event listener for the promise.
Syntax
promise.addEventListener(type, listener, capture);
Parameters
type
Type: StringThe type (name) of the event.
listener
Type: FunctionThe listener to invoke when the event is raised.
capture
Type: Booleantrue to initiate capture, otherwise false.
Return value
This method does not return a value.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Promise |