PS.ProjectContext.waitForQueueAsync Method (ps.js)

Waits for the specified queue job to complete, or waits for a maximum number of seconds.

Applies to: Project Professional 2013 | Project Server 2013

PS.ProjectContext.waitForQueueAsync(job, timeoutSeconds, callback)

Parameters

job
The job.

timeoutSeconds
The number of seconds to wait.

callback
The function that receives the job state when the job completes or when the allotted time expires.