Function subspace_farmer::cluster::plotter::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.