Interface: Viewable
API / @xmachines/play-actor / Viewable
Defined in: packages/play-actor/src/abstract-actor.ts:99
Actor capability for exposing renderable view state.
Viewable marks actors that publish a currentView signal.
Renderers such as PlayRenderer consume this contract to resolve the
current view description into concrete UI without embedding view logic inside the
framework adapter.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
currentView | readonly | State<PlaySpec | null> | Current view signal. Contains the json-render PlaySpec for the current machine state, or null when no view is active. Infrastructure renders view — Logic-Driven UI invariant. | packages/play-actor/src/abstract-actor.ts:106 |