Skip to content
Developer Preview

TurnUnqueueOutcome

What unqueue returns: the wire ack, and the pending-command retirement the accepted reclaim produced — the queued submit’s input handed back to the composer.

Class in muse_code

Property Type Description
ack TurnUnqueueResult The wire turn/unqueue result.
retirement PendingRetirement[_I] | None On a session MuseClient opened, set for this session’s own accepted reclaim whatever order the ack and turn/unqueued arrive in. None when this session holds no queued entry for the turn (another client’s submit, say). On a Session you feed through apply yourself, also None when turn/unqueued folded first: that apply returned the retirement, so restore the composer from whichever of the two returned it. Either way it is handed out once.
Source

clients/sdk-py/src/muse_code/facade/turn_handle.py:244