MCPcopy Index your code
hub / github.com/cargo-lambda/cargo-lambda / queue_depth

Method queue_depth

crates/cargo-lambda-watch/src/state.rs:218–224  ·  view source on GitHub ↗
(&self, function_name: &str)

Source from the content-addressed store, hash-verified

216 }
217
218 pub async fn queue_depth(&self, function_name: &str) -> usize {
219 let inner = self.inner.read().await;
220 inner
221 .get(function_name)
222 .map(|queue| queue.depth())
223 .unwrap_or(0)
224 }
225}
226
227#[derive(Clone)]

Callers

nothing calls this directly

Calls 3

readMethod · 0.80
getMethod · 0.80
depthMethod · 0.80

Tested by

no test coverage detected