Java API to the FSM module
this should mostly cover the non-closure based services provided by FSM, which are StateTimeout and named timers (which are tricky to get right because of the involved cancellation races)
The result will be a broken-out trait on which FSM should be based, so that we can create an abstract base class for Java users.
The result will be a broken-out trait on which FSM should be based, so that we can create an abstract base class for Java users.
Leave a comment
A true DSL seems impossible, given Java's features. The best I can think of involves heavy use of reflection in order to actually gain significant advantage over just implementing an UntypedActor with the same functionality. Did you have anything special in mind? What are the requirements?