cruster 0.0.27

A Rust framework for building distributed, stateful entity systems with durable workflows
Documentation
1
2
3
4
5
6
7
8
9
10
use async_trait::async_trait;

use crate::error::ClusterError;
use crate::types::RunnerAddress;

/// Trait for checking runner liveness.
#[async_trait]
pub trait RunnerHealth: Send + Sync {
    async fn is_alive(&self, address: &RunnerAddress) -> Result<bool, ClusterError>;
}