Skip to main content
apify.waitForActorBuild waits for an Apify Actor build and returns its latest state.

Example

automations/apify-wait-for-actor-build.automation.ts

Inputs

buildId is required. waitSecs is an optional positive client-side limit; omit it to wait indefinitely.

Output

Returns the latest build state. A wait limit can return a build that is still running. Use status to distinguish completion from a caller-defined wait limit.