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

Function txack_event

chirpstack/src/integration/mod.rs:314–329  ·  view source on GitHub ↗
(
    application_id: Uuid,
    vars: &HashMap<String, String>,
    pl: &integration::TxAckEvent,
)

Source from the content-addressed store, hash-verified

312}
313
314pub async fn txack_event(
315 application_id: Uuid,
316 vars: &HashMap<String, String>,
317 pl: &integration::TxAckEvent,
318) {
319 tokio::spawn({
320 let vars = vars.clone();
321 let pl = pl.clone();
322
323 async move {
324 if let Err(err) = _txack_event(application_id, &vars, &pl).await {
325 warn!(application_id = %application_id, error = %err.full(), "Txack event error");
326 }
327 }
328 });
329}
330
331async fn _txack_event(
332 application_id: Uuid,

Callers 2

send_tx_ack_eventMethod · 0.50

Calls 1

_txack_eventFunction · 0.85

Tested by

no test coverage detected