DefaultGuiController
class DefaultGuiController(workspaceConfiguration: WorkspaceConfiguration, baseProfiles: Iterable<SolverProfile>, parentScope: CoroutineScope, extensions: GuiExtensionRegistry = GuiExtensionRegistry(), metadata: ApplicationMetadata = ApplicationMetadata()) : GuiController
Default presentation-independent application controller.
All public state is immutable. Live solvers, cursors and jobs are held in PageRuntime and keyed by PageId. Every asynchronous update verifies its ResolutionSessionId, which prevents cancelled or stale computations from mutating a later resolution or another selected page.
Constructors
Link copied to clipboard
constructor(workspaceConfiguration: WorkspaceConfiguration, baseProfiles: Iterable<SolverProfile>, parentScope: CoroutineScope, extensions: GuiExtensionRegistry = GuiExtensionRegistry(), metadata: ApplicationMetadata = ApplicationMetadata())
Functions
Link copied to clipboard
Applies one action, updating GuiModel.state and/or emitting GuiModel.events/GuiModel.effects.