diff options
author | Raimo Niskanen <[email protected]> | 2018-01-24 15:55:25 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2018-01-24 15:55:25 +0100 |
commit | b171521e68262b9a830e8b8dd98467097d283753 (patch) | |
tree | 30d8a88f69ca8587f1b1d84dd302d1ffb5c76e3f /system/doc | |
parent | bb758d3f68606974c5a74eb3e3c38050175303ec (diff) | |
parent | 412080c9e1f53785ef9f158deb91851561018c9d (diff) | |
download | otp-b171521e68262b9a830e8b8dd98467097d283753.tar.gz otp-b171521e68262b9a830e8b8dd98467097d283753.tar.bz2 otp-b171521e68262b9a830e8b8dd98467097d283753.zip |
Merge branch 'raimo/stdlib/optimize-gen_statem' into maint
* raimo/stdlib/optimize-gen_statem:
Optimize plain call response time
Correct typo in design principles for gen_statem
Diffstat (limited to 'system/doc')
-rw-r--r-- | system/doc/design_principles/statem.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/doc/design_principles/statem.xml b/system/doc/design_principles/statem.xml index a0611a46da..1006485e30 100644 --- a/system/doc/design_principles/statem.xml +++ b/system/doc/design_principles/statem.xml @@ -1679,8 +1679,8 @@ handle_event( {next_state, {open,LockButton}, Data, [{reply,From,ok}]}; [Digit|Rest] -> % Incomplete - {keep_state, Data#{remaining := Rest, 30000}, - [{reply,From,ok}]}; + {keep_state, Data#{remaining := Rest}, + [{reply,From,ok}, 30000]}; [_|_] -> % Wrong {keep_state, Data#{remaining := Code}, [{reply,From,ok}]} |