subspace_farmer::cluster::plotter

Function plotter_service

source
pub async fn plotter_service<P>(
    nats_client: &NatsClient,
    plotter: &P,
) -> Result<()>
where P: Plotter + Sync,
Expand description

Create plotter service that will be processing incoming requests.

Implementation is using concurrency with multiple tokio tasks, but can be started multiple times per controller instance in order to parallelize more work across threads if needed.