Skip to main content

Module session

Module session 

Source
Expand description

The session: the Intent/Scene bus with per-pane subscriptions.

A session ties panes to resources over a Transport. Opening a value renders its Scene and subscribes the pane; submitting an Intent decodes it through the pane’s editor, commits the operation through realize, and the transport records a change; pumping re-renders only the affected panes and returns a Scene diff (from P1) for each. The session never speaks a transport-specific API.

Structs§

SceneUpdate
A re-rendered Scene for a pane, with the diff from its previous Scene.
Session
A session over a transport, with per-pane subscriptions and an experience mode. The mode is session state (a value); switching it never changes the values being shown.