Method ForLock(string, IDistributedLock, IOptions<ClusterOptions>, ILoggerFactory?)

Assembly: redb.Tsak.Core.Pro.dll

Shared lock: multiple routes compete for one lock — only one consumer runs at a time.

public static ClusteredRoutePolicy ForLock(string lockName, IDistributedLock distributedLock, IOptions<ClusterOptions> clusterOptions, ILoggerFactory? loggerFactory = null)