aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src/gen_statem.xml
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2017-02-22 15:41:26 +0100
committerRaimo Niskanen <[email protected]>2017-02-23 08:39:01 +0100
commit913d0b52df1e029fb1728b44ba7da318f3dc49dd (patch)
tree35037c24dcf6c412d9c3c602dfe3e7057534de3e /lib/stdlib/doc/src/gen_statem.xml
parentf1365135f1dd0b57849317b77e8bc9a1e0fd6307 (diff)
downloadotp-913d0b52df1e029fb1728b44ba7da318f3dc49dd.tar.gz
otp-913d0b52df1e029fb1728b44ba7da318f3dc49dd.tar.bz2
otp-913d0b52df1e029fb1728b44ba7da318f3dc49dd.zip
Implement fallback for terminate/3
Diffstat (limited to 'lib/stdlib/doc/src/gen_statem.xml')
-rw-r--r--lib/stdlib/doc/src/gen_statem.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/stdlib/doc/src/gen_statem.xml b/lib/stdlib/doc/src/gen_statem.xml
index d19602b67c..5eb13db1aa 100644
--- a/lib/stdlib/doc/src/gen_statem.xml
+++ b/lib/stdlib/doc/src/gen_statem.xml
@@ -1973,6 +1973,11 @@ handle_event(_, _, State, Data) ->
<v>Ignored = term()</v>
</type>
<desc>
+ <note>
+ <p>This callback is optional, so callback modules need not
+ export it. The <c>gen_statem</c> module provides a default
+ implementation without cleanup.</p>
+ </note>
<p>
This function is called by a <c>gen_statem</c>
when it is about to terminate. It is to be the opposite of