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:
parent
1242a6860f
commit
7a6a0571a7
@ -274,6 +274,7 @@ let resolvedDatasetDdo: DDO
|
|||||||
let resolvedAlgorithmDdo: DDO
|
let resolvedAlgorithmDdo: DDO
|
||||||
|
|
||||||
let computeJobId: string
|
let computeJobId: string
|
||||||
|
let agreementId: string
|
||||||
```
|
```
|
||||||
|
|
||||||
### 4.3 Helper methods
|
### 4.3 Helper methods
|
||||||
@ -654,6 +655,8 @@ 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')
|
||||||
@ -661,6 +664,8 @@ Let's have 5 minute of compute access
|
|||||||
Let's save the compute job it, we re going to use later
|
Let's save the compute job it, we re going to use later
|
||||||
```Typescript
|
```Typescript
|
||||||
computeJobId = computeJobs[0].jobId
|
computeJobId = computeJobs[0].jobId
|
||||||
|
// eslint-disable-next-line prefer-destructuring
|
||||||
|
agreementId = computeJobs[0].agreementId
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user