/// Get queue size.
///
/// Doesn't require any input, returns queue size.
Get queue size.
Doesn't require any input, returns queue size.
Get queue size . Doesn ' t require any input returns queue size .
pub async fn size(manager: Arc<Manager<'_>>, name: String) -> Result<Json> {
    let queue = manager.queue(&name)?.database().await;
    Ok(json(&SizeResponse::from(queue.size())))
}
pub async fn size ( manager : Arc < Manager < ' _ > > , name : String ) -> Result < Json > { let queue = manager . queue ( & name ) ? . database ( ) . await ; Ok ( json ( & SizeResponse :: from ( queue . size ( ) ) ) ) }
Get queue size.
Get queue size .
manager
Arc<Manager<'_>>
name
String