SyncTurn
One turn, on the blocking surface — the sync twin of Turn.
Class in muse_code
Constructor
Section titled “Constructor”SyncTurn(turn: Turn, runner: _LoopRunner)
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
turn_id |
str |
The wire turn id. |
observed_start |
bool |
Did THIS session observe a turn/started? Not a launch marker. |
Methods
Section titled “Methods”| Method | Signature | Description |
|---|---|---|
completed |
completed() -> TurnOutcome |
Block for the turn-wait; settles on a server-authored fact (a method where the async twin is an awaitable property — a blocking property read would hide an unbounded wait behind attribute access). |
items |
items() -> Iterator[FoldedItem] |
This turn’s items, iterated synchronously: the folded backlog, then the live tail, ending when the turn settles. |
deltas |
deltas() -> Iterator[ItemDeltaParams] |
This turn’s item/delta frames, live only, iterated synchronously; released on break/close (and bounded on a never-started iterator) exactly like items. |
Source
clients/sdk-py/src/muse_code/sync_facade.py:420