diff options
author | Raimo Niskanen <[email protected]> | 2016-02-23 17:58:45 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2016-02-23 17:58:45 +0100 |
commit | 2b3a82ae44b222ce1146badcff972abb539d40ca (patch) | |
tree | 71031b280cf634bc11a7c95385a695fedaa0a1ac /lib/stdlib/doc/src/gen_statem.xml | |
parent | 793fe40e3883bca7c37b71fb59616a4ec8d379b1 (diff) | |
download | otp-2b3a82ae44b222ce1146badcff972abb539d40ca.tar.gz otp-2b3a82ae44b222ce1146badcff972abb539d40ca.tar.bz2 otp-2b3a82ae44b222ce1146badcff972abb539d40ca.zip |
Add {stop_and_reply,Reason,Replies [,Data])
Cleanup some error handling
Diffstat (limited to 'lib/stdlib/doc/src/gen_statem.xml')
-rw-r--r-- | lib/stdlib/doc/src/gen_statem.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/gen_statem.xml b/lib/stdlib/doc/src/gen_statem.xml index 5ae930f48b..096be3025e 100644 --- a/lib/stdlib/doc/src/gen_statem.xml +++ b/lib/stdlib/doc/src/gen_statem.xml @@ -540,7 +540,14 @@ erlang:'!' -----> Module:StateName/5 <desc> <taglist> <tag><c>stop</c></tag> - <item>Send all <c><anno>Replies</anno></c> if given, + <item>Terminate the <c>gen_statem</c> by calling + <seealso marker="#Module:terminate/3"> + <c>Module:terminate/3</c> + </seealso> with <c>Reason</c> and + <c><anno>NewData</anno></c>, if given. + </item> + <tag><c>stop_and_reply</c></tag> + <item>Send all <c><anno>Replies</anno></c> then terminate the <c>gen_statem</c> by calling <seealso marker="#Module:terminate/3"> <c>Module:terminate/3</c> |