synapto-interface 0.1.0-dev.12

Interface definitions for the Synapto framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::plugin::Plugin;
use crate::sync::watch;
use async_trait::async_trait;

#[async_trait]
pub trait RolloutController: Plugin + Send + Sync {
    async fn start(
        &self,
        rollout_tx: watch::Sender<crate::interaction::Timestamp>,
    ) -> Result<(), String>;
}