Interface IDistributedSemaphore
Namespace: Consul
Assembly: Consul.dll
The interface for the Distributed Semaphore API Endpoints
public interface IDistributedSemaphore
Properties
IsHeld
bool IsHeld { get; }
Property Value
Methods
Acquire(CancellationToken)
Task<CancellationToken> Acquire(CancellationToken ct = default)
Parameters
Returns
Destroy(CancellationToken)
Task Destroy(CancellationToken ct = default)
Parameters
Returns
Release(CancellationToken)
Task Release(CancellationToken ct = default)