Interface IJob

Represents a work item that's executed by the Scheduler.

Index

Properties

Methods

Properties

public completed: boolean

Gets a value that indicates whether the job has successfully completed.

public id: number

Gets the unique numeric identifier assigned to the job.

public name: string

Gets or sets the name of the job.

public owner: IOwnerToken

Gets or sets the owner of the job.

public priority: Priority

Gets or sets the priority of the job.

Methods

public cancel()

Cancels the job.

public pause()

Pauses the job.

public resume()

Resumes the job.