wordval-actor 1.0.5

Wordval actor system: high-performance message foundation for drone ground stations
Documentation

wordval-actor

Wordval actor system: high-performance message foundation for drone ground stations.

单机内存 Actor 底座:类型化 ActorRef<M> 热路径零装箱、 遥测走单槽 latest-value-wins 覆盖通道、指令走有界可靠通道 + ask/超时、 每 Actor 定时器(链路看门狗)、监督重启(指数退避)+ watch 死亡通知、 Topic 广播 / 快照扇出(多机 HUD)。

use wordval_actor::{Actor, ActorAction, ActorContext, ActorSystem};

struct Counter(u64);
impl Actor for Counter {
    type Message = u64;
    async fn handle(&mut self, n: u64, _ctx: &mut ActorContext<u64>) -> ActorAction {
        self.0 += n;
        ActorAction::Continue
    }
}

let system = ActorSystem::new();
let counter = system.spawn_named("counter", Counter(0))?;
counter.send(7).await?;

See the crate docs for the ground-station blueprint (LinkSession / VehicleState failsafe / FleetSupervisor).

See wordval for the main framework.