Skip to content

Commit

Permalink
Update docs/dsl-cheatsheet.md
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriel Ittner <[email protected]>
  • Loading branch information
sockeqwe and gabrielittner authored Jul 27, 2023
1 parent 9b773d9 commit fa3c300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/dsl-cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec {

// Handle external "input", called Actions
on<Action1>{ action, state -> ... } // Handle an action
on<Action2>(ExecutionPolicy){ action, state -> ... } // You can have multiple on<Action> blocks. Optinal specify ExecutionPolicy
on<Action2>(ExecutionPolicy){ action, state -> ... } // You can have multiple on<Action> blocks. Optionally specify ExecutionPolicy

// Do something when you enter the state.
onEnter{ state -> ... } // called exactly one time when the given state has been entered
Expand Down

0 comments on commit fa3c300

Please sign in to comment.