Wait until a project is live
wait_for_livePolls a project every 2 seconds until it reaches a live terminal state, returning the final Project on success or an error on build failure or cancellation.
Instructions
Block (polling every 2 s) until the project reaches a terminal state. Returns the final Project on success, an error result on build-failed or build-cancelled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Project id or subdomain | |
| timeoutMs | No | Max wait in ms. Defaults to 10 minutes. |