@salesforce/b2c-tooling-sdk / operations/ods / waitForClone
Function: waitForClone() ​
waitForClone(
client,options):Promise<void>
Defined in: packages/b2c-tooling-sdk/src/operations/ods/wait-for-clone.ts:83
Waits for a sandbox clone to reach COMPLETED or FAILED state by polling its status.
Parameters ​
client ​
ODS client for API calls
options ​
Polling configuration options
Returns ​
Promise<void>
Throws ​
If the timeout is exceeded before completion
Throws ​
If the API request fails
Throws ​
If the clone enters the FAILED state