GuiEvent
A discrete notification of something that just happened, broadcast via GuiModel.events - complementary to GuiModel.state (which always holds the latest truth even if an event is missed by a late subscriber).
Inheritors
Types
An exit request was vetoed/cancelled; the application keeps running.
The user asked to exit; a frontend may still veto this if documents are dirty.
The application finished starting up.
A document's in-memory text changed, now at revision.
A new document was created (scratch or backed by a page).
The user backed out of a save-destination picker; the document stays dirty.
A document was successfully persisted at revision.
Persisting a document failed with message.
A GuiEffect was queued for the hosting platform to perform.
A page was closed and removed from the workspace.
A new page was created, optionally backed by documentId (null for a scratch page).
The workspace's selected page changed (null when no page is selected, e.g. the workspace is empty).
A resolution paused after a solution, waiting for a "next"/"stop" action before it can continue.
A resolution was cancelled before completing; resolutionId is null if it was cancelled before one was even assigned.
A resolution ran to exhaustion with no further solutions.
A resolution failed with an unrecoverable error.
A page started resolving query.
A resolution yielded one more solution.
A page started building a new solver session for profileId (e.g. after switching profiles).
A page's solver session was invalidated (e.g. its source changed) and must be rebuilt before solving again.
A page's new solver session finished building and is ready to resolve queries.