wait_for_job
Poll a Leanpub job's status at regular intervals until it completes or the timeout expires, so you know when to proceed after previewing or publishing.
Instructions
Poll get_job_status every 5s (configurable) until the job completes or the timeout elapses. Use right after preview_book/publish_book.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| timeoutSeconds | No | Default 120 | |
| intervalSeconds | No | Default 5, minimum 5 per Leanpub's rate limit guidance |