Files
budget-backend/vendor/github.com/sagikazarmark/locafero/internal/queue/queue.go
kratisto f81c902ca6
Some checks failed
golangci-lint / lint (push) Successful in 1m33s
Test / test (push) Failing after 2m16s
chore: migrate to gitea
2026-01-27 01:56:53 +01:00

9 lines
187 B
Go

// Package queue provides a generic queue implementation.
package queue
// Queue represents a generic queue.
type Queue[T any] interface {
Add(func() (T, error))
Wait() ([]T, error)
}