type Act
import ezmcp@0.1.0.0/src/server.bend as Serverimport Base
import emerging-ezjson@1.2.0.0/src/value.bend as Value
21# what a server does with one message; a Batch's acts are its elements',
22# in order, and none of them is a Batch
23type Act is Data:
24 Quiet{}
25 Send{reply: Value.Json}
26 Fault{reply: Value.Json}
27 Run{id: Value.Json, name: String, args: Value.Json}
28 Batch{acts: List<&2, Act>}