WinJS.Utilities.Scheduler.schedulePromiseAboveNormal function
Schedules a job to complete the returned Promise at WinJS.Utilities.Scheduler.Priority.aboveNormal priority. This function is to be used as a onCompleted handler in Promise chains to set the priority of the next link in the chain.
var p = WinJS.Utilities.Scheduler.schedulePromiseAboveNormal(promiseValue, jobName);
promiseValue [optional]
Type: ObjectThe value returned by the completed Promise.
jobName [optional]
Type: StringA string that describes the job for diagnostic purposes.
Type: WinJS.Promise**
A Promise that completes within a job of aboveNormal priority.
Minimum WinJS version |
WinJS 2.0 |
Namespace |
WinJS.Utilities.Scheduler |