System is an event system. Normally, You need to create one for your logic app.
import{System}from"ractor";
exportconstsystem=newSystem("counter");
Action
The abstraction of system behavior. You can create it by class.
exportclassIncrement{}
Store
Conceptually, your can think of Store like a event handler or redux’s reducer.
Store is an abstract class, abstract method createReceive needs to return an Receive object. There is a convenient helper method receiveBuilder to help you to create Receive object