Skip to content
LogoLogo

stopCompute

Stop a running compute job.

Usage

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

Returns

  • Type: NodeComputeJob[]

The jobs as they stand after the stop request, under their <environmentHash>-<jobId> ids and with the node's environment.

Parameters

config

  • Type: StopComputeConfig

Properties

jobId
  • Type: string

<environmentHash>-<jobId>, as compute returns it. A bare id throws.

nodeUri (optional)
  • Type: string
agreementId (optional)
  • Type: string
did (optional)
  • Type: string

Accepted for symmetry with v1; the node does not need it.