MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / RedisTaskQueue

Struct RedisTaskQueue

pkg/telemetry/exporter/task_queue.go:58–61  ·  view source on GitHub ↗

RedisTaskQueue is an implementation of telemetry.TaskQueue.

Source from the content-addressed store, hash-verified

56
57// RedisTaskQueue is an implementation of telemetry.TaskQueue.
58type RedisTaskQueue struct {
59 queue *ttnredis.TaskQueue
60 callbacks sync.Map
61}
62
63// TaskCallback is a callback that is called when a telemetry task is popped.
64type TaskCallback func(context.Context) (time.Time, error)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected