Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WinJS.Utilities.Scheduler.IJobInfo interface

Applies to Windows and Windows Phone

Provides a control mechanism that allows a job to cooperatively yield. This object is passed to your work function when you schedule it.

Members

The IJobInfo interface has these types of members:

Methods

The IJobInfo interface has these methods.

MethodDescription
setPromise

Uses a Promise to determine how long the scheduler should wait before rescheduling the job after it yields.

setWork

Specifies the next unit of work to run once this job yields.

 

Properties

The IJobInfo interface has these properties.

PropertyAccess typeDescription

job

Read-only

Gets the work item associated with this IJobInfo.

shouldYield

Read-only

Gets a value that specifies whether the job should yield.

 

Requirements

Minimum WinJS version

WinJS 2.0

Namespace

WinJS.Utilities.Scheduler

 

 

Show:
© 2016 Microsoft