Skip to main content

Function: getJobProgress()

function getJobProgress(
  jobId: string,
  projectId: string,
  runId: string,
  options: PollJobOptions,
): Promise<string>;
Defined in: src/utils/job-progress.ts Monitors job progress with progress bar and logs scorer jobs status after completion. This function polls a job until completion and then reports on scorer job statuses.

Parameters

jobId

string The unique identifier of the job to monitor.

projectId

string The unique identifier of the project.

runId

string The unique identifier of the run.

options

PollJobOptions = {} Polling options.

Returns

Promise<string> The unique identifier of the completed job.