aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2016-02-26 10:35:16 +0100
committerRaimo Niskanen <[email protected]>2016-02-26 10:35:16 +0100
commit1e4831762b5ab4bd2210fc9e0a204e00dfe81b39 (patch)
tree48e065aa786f1256c3fd1662fcad60ae991aebab /lib/stdlib/doc
parentcea77ca09be156669c657592bebf6efc9d5cfaee (diff)
downloadotp-1e4831762b5ab4bd2210fc9e0a204e00dfe81b39.tar.gz
otp-1e4831762b5ab4bd2210fc9e0a204e00dfe81b39.tar.bz2
otp-1e4831762b5ab4bd2210fc9e0a204e00dfe81b39.zip
Implement 'keep_state_and_data' and 'stop'
Diffstat (limited to 'lib/stdlib/doc')
-rw-r--r--lib/stdlib/doc/src/gen_statem.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/gen_statem.xml b/lib/stdlib/doc/src/gen_statem.xml
index d50b88c561..bda3ef081d 100644
--- a/lib/stdlib/doc/src/gen_statem.xml
+++ b/lib/stdlib/doc/src/gen_statem.xml
@@ -803,12 +803,17 @@ ok
</item>
<tag><c>keep_state_and_data</c></tag>
<item>
- The <c>gen_statem</c> will keep the current state, or
+ The <c>gen_statem</c> will keep the current state or
do a state transition to the current state if you like,
keep the current server data,
and execute all <c><anno>Actions</anno></c>
</item>
</taglist>
+ <p>
+ All these terms are tuples or atoms and this property
+ will hold in any future version of <c>gen_statem</c>,
+ just in case you need such a promise.
+ </p>
</desc>
</datatype>
</datatypes>