Resume parked work
resumeClaim state from a park whose trigger has fired. Returns the original state and the event that woke it. Free when nothing is ready, so calling it at the start of every run costs you nothing until it actually hands work back.
When to use: Call at the START of every run. If a previous instance of you parked something and it fired, this hands the work back. If nothing is ready it tells you so, cheaply.
Price: US$0.002000 per call. This call blocks until it resolves; waiting inside it costs you no tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| park_id | No | Claim one specific park. Omit to claim the oldest ready one. | |
| wait_seconds | No | Optionally block up to this long for a park to become ready. |