MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / location_event

Function location_event

chirpstack-integration/src/lib.rs:352–357  ·  view source on GitHub ↗
(pl: integration_pb::LocationEvent)

Source from the content-addressed store, hash-verified

350}
351
352async fn location_event(pl: integration_pb::LocationEvent) {
353 let integration = INTEGRATION.read().await;
354 if let Err(e) = integration.as_ref().unwrap().location_event(&pl).await {
355 error!(error = %e, "Location event error");
356 }
357}
358
359#[cfg(test)]
360mod test {

Callers 1

startMethod · 0.70

Calls 3

unwrapMethod · 0.80
as_refMethod · 0.80
location_eventMethod · 0.45

Tested by

no test coverage detected