Permalink
8 comments
on commit
sign in to comment.
Browse files
Deprecate GenFSM
We plan to provide better abstractions around GenServer and GenEvent in upcoming releases but we won't do so for GenFSM. There are other interesting approaches out there, like `plain_fsm`, which are easier to understand and use than OTP's FSM.
- Loading branch information...
Showing
with
6 additions
and 43 deletions.
This comment has been minimized.
bagwanpankajMar 10, 2014
+1
bagwanpankaj repliedMar 10, 2014
+1
This comment has been minimized.
mus0uMar 10, 2014
Will there be some other standard elixir FSM wrapper at some point in the future? I was just beginning to use GenFSM when I saw this; the project is not urgent by any means but I will need to do something with it at some point. Not sure if I should wait for another elixir solution like GenFSM or try to learn the stock erlang plain_fsm.
mus0u repliedMar 10, 2014
Will there be some other standard elixir FSM wrapper at some point in the future? I was just beginning to use GenFSM when I saw this; the project is not urgent by any means but I will need to do something with it at some point. Not sure if I should wait for another elixir solution like GenFSM or try to learn the stock erlang plain_fsm.
This comment has been minimized.
josevalimMar 10, 2014
Member@mus0u you can also use Erlang's :gen_fsm directly, which GenFSM is a simple wrapper for. I don't think we will get an FSM solution before 1.0.
josevalim repliedMar 10, 2014
@mus0u you can also use Erlang's :gen_fsm directly, which GenFSM is a simple wrapper for. I don't think we will get an FSM solution before 1.0.
This comment has been minimized.
mus0uMar 11, 2014
Ah, makes sense. Thank you!
mus0u repliedMar 11, 2014
Ah, makes sense. Thank you!
This comment has been minimized.
AndrewDrygaJan 18, 2017
ContributorHello, is there are any new FSM solutions or maybe we should get back to this? :)
AndrewDryga repliedJan 18, 2017
Hello, is there are any new FSM solutions or maybe we should get back to this? :)
This comment has been minimized.
whatyouhideJan 18, 2017
Member@AndrewDryga the new kid in town is
gen_statem, which was released in Erlang 19. There is no official plan of wrapping this in Elixir as it is straightforward to use the Erlang version directly; if you still want an Elixir way of interacting with it, there's https://github.com/antipax/gen_state_machine as well :)whatyouhide repliedJan 18, 2017
@AndrewDryga the new kid in town is
gen_statem, which was released in Erlang 19. There is no official plan of wrapping this in Elixir as it is straightforward to use the Erlang version directly; if you still want an Elixir way of interacting with it, there's https://github.com/antipax/gen_state_machine as well :)This comment has been minimized.
fishcakezJan 18, 2017
Membergen_statemis currently experimental so we would require at least OTP-20 before thinking about. The behaviour has incompatible changes between OTP-19.0 and OTP-19.1.fishcakez repliedJan 18, 2017
gen_statemis currently experimental so we would require at least OTP-20 before thinking about. The behaviour has incompatible changes between OTP-19.0 and OTP-19.1.This comment has been minimized.
whatyouhideJan 18, 2017
Member@fishcakez that is a good thing to point out, yes.
whatyouhide repliedJan 18, 2017
@fishcakez that is a good thing to point out, yes.