GraphSnapshot
Where the run of a GraphSession stands. A screen draws one of these with a when, and each holds what it needs to.
Inheritors
Types
Link copied to clipboard
Nothing has run in this session, and GraphSession.restore found no run of the thread.
Link copied to clipboard
data class Interrupted<out State>(val state: State, val nextNodes: List<String>) : GraphSnapshot<State>
The run paused, usually for a person to decide, and GraphSession.resume continues it.
Link copied to clipboard
GraphSession.restore is reading the last checkpoint of the thread.
Link copied to clipboard
The run ended before END and before an interrupt. With a checkpointer, GraphSession.resume continues from the last step that finished.