waitForPullStatus
waitForPullStatus(
options):Promise<PullResponse>
Defined in: packages/synapse-core/src/sp.ts:1049
Wait for pull completion.
Repeatedly calls the pull endpoint until all pieces are complete or any piece fails. Since the endpoint is idempotent, this effectively polls for status updates.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
options | OptionsType | waitForPullStatus.OptionsType |
Returns
Section titled “Returns”The final status when complete or failed. waitForPullStatus.ReturnType
Throws
Section titled “Throws”Errors waitForPullStatus.ErrorType