Skip to content

@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 ​

OdsClient

ODS client for API calls

options ​

WaitForCloneOptions

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

Released under the Apache-2.0 License.