1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

Updating ComputeExamples.md

This commit is contained in:
GitHub Actions Bot 2024-06-25 08:52:27 +00:00
parent 713780d46e
commit c6f826c9cb

View File

@ -655,14 +655,11 @@ Let's have 5 minute of compute access
algo algo
) )
console.log('COMPUTE JOBS', computeJobs)
``` ```
<!-- <!--
assert(computeJobs, 'Cannot start compute job') assert(computeJobs, 'Cannot start compute job')
--> -->
Let's save the compute job id, we re going to use later Let's save the compute job it, we re going to use later
We can also save the agreementId. Its another optional field that we can later use to retrieve the job status
```Typescript ```Typescript
computeJobId = computeJobs[0].jobId computeJobId = computeJobs[0].jobId
// eslint-disable-next-line prefer-destructuring // eslint-disable-next-line prefer-destructuring