Skip to content
LogoLogo

getComputeStatus

Get the status of a compute job.

Usage

const  = await .({ : 'a-job-id' }) 
 
.(?., ?.)

Returns

  • Type: ComputeJob | undefined

undefined when the node does not know the job. Status 70 (JobFinished) and 71 (JobSettle) both mean the results are ready — either is enough for getComputeResult to return a URL.

Parameters

config

  • Type: ComputeStatusConfig

Properties

jobId
  • Type: string
nodeUri (optional)
  • Type: string

For a job on another node.

agreementId (optional)
  • Type: string