async fn renderer_task(
    barrier: Arc<Barrier>,
    shared: Arc<Shared>,
) -> Result<(), Error> {
    let _guard = shared.conn_guard();
    barrier.wait().await;
    renderer(&shared).await
}
/// The task that renders the screen buffer, periodically. Barrier must be
/// shared between tasks with the same given screen.
The task that renders the screen buffer, periodically. Barrier must be
shared between tasks with the same given screen.
The task that renders the screen buffer periodically . Barrier must be shared between tasks with the same given screen .
async fn renderer_task(
    barrier: Arc<Barrier>,
    shared: Arc<Shared>,
) -> Result<(), Error> {
    let _guard = shared.conn_guard();
    barrier.wait().await;
    renderer(&shared).await
}
async fn renderer_task ( barrier : Arc < Barrier > , shared : Arc < Shared > , ) -> Result < ( ) , Error > { let _guard = shared . conn_guard ( ) ; barrier . wait ( ) . await ; renderer ( & shared ) . await }
The task that renders the screen buffer, periodically.
The task that renders the screen buffer periodically .
barrier
Arc<Barrier>
shared
Arc<Shared>
barrier
Arc<Barrier>
shared
Arc<Shared>