elfo-pinger 0.1.0

Pings groups of the elfo system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#![warn(rust_2018_idioms, unreachable_pub)]

use elfo_core::{ActorGroup, Schema, Topology};

mod actor;
mod config;

pub fn new(topology: &Topology) -> Schema {
    let topology = topology.clone();
    ActorGroup::new()
        .config::<config::Config>()
        .exec(move |ctx| actor::exec(ctx, topology.clone()))
}