Skip to content

Commit 489f4bd

Browse files
committed
document fsm.states() method in readme
1 parent f2cc8a0 commit 489f4bd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ along with the following members:
4646
* fsm.can(e) - return true if event `e` can be fired in the current state
4747
* fsm.cannot(e) - return true if event `e` cannot be fired in the current state
4848
* fsm.transitions() - return list of events that are allowed from the current state
49+
* fsm.states() - return list of all possible states.
4950

5051
# Multiple 'from' and 'to' states for a single event
5152

0 commit comments

Comments
 (0)