The Artima Developer Community
Sponsored Link

Akka Concurrency Forum
FSM's onTransition, transform and using

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Chifeng Chou

Posts: 2
Nickname: cfchou
Registered: Jul, 2013

FSM's onTransition, transform and using Posted: Feb 6, 2014 4:27 AM
Reply to this message Reply
I've been using Akka a bit but never tried FSM. Today I read section 9.3 which puzzles me a little.

As to "onTransition", I'm not sure it's the purpose but I find it may be useful in cases that the state machine is dealt with from transitions' perspective. But I'm not sure, "onTransition" an "when", which one is the better place to write corresponding actions.

In addtion, IMHO, "transform" and "using" don't seem be necessary as, I assume, everything can be boiled down to "when" and it probably will be clearer. I would like to know what you think.


Topic: Deprecated actorFor? Previous Topic   Next Topic Topic: 8.5 - IsolatedLifecycleSupervisor

Sponsored Links


Copyright © 1996-2015 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us