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

Function flushQueue

ui/src/views/devices/DeviceQueue.tsx:160–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158 };
159
160 const flushQueue = () => {
161 const req = new FlushDeviceQueueRequest();
162 req.setDevEui(props.device.getDevEui());
163 DeviceStore.flushQueue(req, () => {
164 refreshQueue();
165 });
166 };
167
168 const onEnqueue = (values: FormRules) => {
169 const req = new EnqueueDeviceQueueItemRequest();

Callers

nothing calls this directly

Calls 1

refreshQueueFunction · 0.70

Tested by

no test coverage detected