Validates that specified compute resources exist in ChRIS CUBE.
Array of compute resource names to validate.
A Result containing valid resource names, or Err with available resources in errorStack.
const result = await computeResources_validate(['host', 'gpu']);if (!result.ok) { // Check errorStack for available resources const errors = errorStack.allOfType_get('error'); console.error(errors); return;}// Proceed with valid resources Copy
const result = await computeResources_validate(['host', 'gpu']);if (!result.ok) { // Check errorStack for available resources const errors = errorStack.allOfType_get('error'); console.error(errors); return;}// Proceed with valid resources
Validates that specified compute resources exist in ChRIS CUBE.