RedisTaskQueue is an implementation of telemetry.TaskQueue.
| 56 | |
| 57 | // RedisTaskQueue is an implementation of telemetry.TaskQueue. |
| 58 | type 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. |
| 64 | type TaskCallback func(context.Context) (time.Time, error) |
nothing calls this directly
no outgoing calls
no test coverage detected