Struct djinn::Worker [] [src]

pub struct Worker<S: Simulation, C: Redis> { /* fields omitted */ }

A process that computes and applies updates for a local population of agents.

Methods

impl<S: Simulation, C: Redis> Worker<S, C>
[src]

Start running the worker. This blocks until the worker receives a terminate command.