From c6bdd67b33b70d862e2a2d0f582106f2e930d970 Mon Sep 17 00:00:00 2001
From: Ingela Anderton Andin
Date: Thu, 6 Apr 2017 16:03:11 +0200
Subject: stdlib: Deprecate gen_fsm
---
lib/stdlib/doc/src/gen_statem.xml | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
(limited to 'lib/stdlib/doc/src/gen_statem.xml')
diff --git a/lib/stdlib/doc/src/gen_statem.xml b/lib/stdlib/doc/src/gen_statem.xml
index 5eb13db1aa..18089a8191 100644
--- a/lib/stdlib/doc/src/gen_statem.xml
+++ b/lib/stdlib/doc/src/gen_statem.xml
@@ -62,8 +62,8 @@
- The gen_statem behavior is intended to replace
- gen_fsm for new code.
+ The gen_statem behavior replaces
+ gen_fsm in Erlang/OTP 20.0.
It has the same features and adds some really useful:
@@ -78,8 +78,10 @@
The callback model(s) for gen_statem differs from
the one for gen_fsm,
- but it is still fairly easy to rewrite
- from gen_fsm to gen_statem.
+ but it is still fairly easy to
+
+ rewrite from
+ gen_fsm to gen_statem.
A generic state machine process (gen_statem) implemented
@@ -945,7 +947,6 @@ handle_event(_, _, State, Data) ->
state callback
return value {next_state,NextState,NewData,Timeout}
allowed like for gen_fsm's
- Module:StateName/2.
timeout
--
cgit v1.2.3