RuntimeUiSession
Narrow owner-thread bridge for a retained runtime UI session.
The construction thread owns this session, and lifecycle and frame operations are synchronous on that thread. Operations reject reentrancy except that recursive close from its own cleanup is an idempotent no-op. The first successful frame gates pointer dispatch. This synchronous bridge does not expose local-state declarations, source bindings, or task launch. Its content is evaluated during the first attach, while later synchronous changes are driven by retained node invalidation before another frame. The bridge retains the content lambda while created, attached, or detached and releases it before cleanup callbacks after failure or close.
Content, reconciliation, pipeline, input, and cleanup failures preserve the exact primary Throwable and suppression order defined by the core session. A failed session has already performed cleanup; closing it records the closed terminal state without repeating cleanup.
Functions
Dispatches one keyboard event synchronously to the focused component in the most recently committed frame.
Dispatches one pointer event synchronously through the most recently committed attached tree on the owner thread.
Dispatches one committed-character or preedit event synchronously to the focused component in the most recently committed frame.
Produces one immutable frame synchronously on the owner thread.
Produces one immutable frame after delivering an explicit monotonic timestamp to time-aware nodes.