Aggregate Result
data class AggregateResult<ID : Any, out R>(val localId: ID, val result: R, val toSend: OutboundMessage<ID>, val newState: State)
Result of the aggregate computation. It represents the localId of the device, the result of the computation, the messages toSend to other devices and the newState of the device.