Skip to content
Developer Preview

TurnOutcome

How a turn ended, from a waiter’s point of view (the protocol’s two resolutions, plus the ephemeral-death annotation). turn/retracted and turn/retryScheduled are deliberately absent: a retracted turn still reaches its own terminal, and a scheduled retry is explicitly non-terminal.

Type alias in muse_code

TurnOutcome = Union[_Completed, _Unqueued, _TerminalUnknown]

Source

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