Effect CommunityEC
Effect Community6mo ago
8 replies
jeremiahrhall

Using Machine and Entity Together for Event Sourcing and RPC in Effect Typescript

I got my first system with cluster entities and rpc online today. Good experience and I’m excited about the direction. While thinking about how to persist entity state and/or rebuild their state from messages, I noticed the Machine concept in the experimental package. Machine looks a lot like an “event sourced entity” construct but doesn’t lean into the Rpc constructs in the same way Entity does. Is anyone thinking about using these (Machine, Entity) together?
Was this page helpful?