stasis-rs 0.2.1

Durable AI orchestration framework with runtime jobs, lineage, and memory integration
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use async_trait::async_trait;

use crate::domain::errors::Result;
use crate::domain::runtime::cluster_node::ClusterControlEvent;
use crate::ports::outbound::runtime::cluster_control_event_sink::ClusterControlEventSink;

#[derive(Clone, Default)]
pub struct NoopClusterControlEventSink;

#[async_trait]
impl ClusterControlEventSink for NoopClusterControlEventSink {
    async fn emit(&self, _event: ClusterControlEvent) -> Result<()> {
        Ok(())
    }
}