package distributedmutex

import (
	"github.com/redis/go-redis/v9"
	"go.uber.org/zap"
)

// ProvideDistributedMutexAdapter creates a new distributed mutex adapter instance.
// Accepts *redis.Client which implements redis.UniversalClient interface
func ProvideDistributedMutexAdapter(logger *zap.Logger, redisClient *redis.Client) Adapter {
	// redis.Client implements redis.UniversalClient, so we can pass it directly
	return NewAdapter(logger, redisClient)
}
