Skip to content

Commit f8a0f46

Browse files
committed
added project state example
1 parent faf0dd2 commit f8a0f46

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,12 @@ As this diagram of the project state machine shows, various transition actions c
229229

230230
![Project state diagram](docs/project_state_diagram.svg)
231231

232+
_Note: for clarity, the diagram above excludes states and transitions relating to error handling._
233+
234+
#### Example
235+
236+
![Project state example](docs/project_state_example.png)
237+
232238
For example, suppose the project state machine is currently in the `FETCHING_WITH_ID` state.
233239

234240
If the project state machine is given the `DONE_FETCHING_WITH_ID` action, the state will transition to the `LOADING_VM_WITH_ID` state. As part of that transition, it will store the `projectData` that it fetched while in the `FETCHING_WITH_ID` state.

docs/project_state_example.png

28.3 KB
Loading

0 commit comments

Comments
 (0)