diet icon indicating copy to clipboard operation
diet copied to clipboard

Is it possible to declare events and states transitions at run-time using Diet?

Open daya opened this issue 5 years ago • 1 comments

This isn't really an issue but a query.

I am looking for a FSM solution with built in persistence where events and state transitions can be configured at run-time.

Does this solution do that?

If not, is there anything else you recommend.

daya avatar Jul 30 '20 14:07 daya

I think it would be fairly simple to do that at runtime using a nested map, and you could persist it using ETS or JSON (for example)

On Thu, Jul 30, 2020 at 9:37 AM Daya Sharma [email protected] wrote:

This isn't really an issue but a query.

I am looking for a FSM solution with built in persistence where events and state transitions can be configured at run-time.

Does this solution do that?

If not, is there anything else you recommend.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pragdave/diet/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAACTGE7BEDO6WARPORY5S3R6GARTANCNFSM4PN4WGJQ .

pragdave avatar Jul 31 '20 15:07 pragdave