You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Common/Common/Distributed/IDistributedLockService.cs

13 lines
276 B

2 years ago
using Connected.Annotations;
using Connected.ServiceModel;
namespace Common.Distributed;
[Service]
public interface IDistributedLockService
{
Task<Guid> Lock(DistributedLockArgs args);
Task Unlock(PrimaryKeyArgs<Guid> args);
Task Ping(DistributedLockPingArgs args);
}