diff options
Diffstat (limited to 'lib/stdlib/doc')
-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> |