reservation_wait
Block-and-poll a reservation until it allocates a place, or times out.
Instructions
Block-and-poll a reservation until it allocates a place, or times out.
``timeout_s`` is clamped to at most 25.0 (PlaceSession.reservation_wait,
§11.14), like ``wait_for_change``. Only an *acquired* reservation
auto-refreshes coordinator-side -- polling here IS what keeps a
merely-``waiting``/``allocated`` reservation's TTL alive, so the
reservation still needs an ``acquire_place`` (or another ``reservation_wait``/
``cancel_reservation``) soon after this returns, or it expires
~60s after creation regardless of the outcome reported here.
Returns ``{"reservation_id", "state", "allocations", "changed"}``
plus the deprecated ``token`` mirror of ``reservation_id`` --
``changed`` is True iff the reservation is allocated by the time
this returns; a dead reservation (expired/invalid/unknown) or a
genuine timeout both report ``changed=False`` without raising.
Non-destructive but not idempotent (each call keepalive-polls).
``reservation_id`` is required; ``token`` is its deprecated alias.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Deprecated alias of reservation_id; pass reservation_id instead. | |
| timeout_s | No | ||
| reservation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||