Struct LeaseConsumer.AcquisitionResult
Represents a result of lease acquisition operation.
Inherited Members
Namespace: DotNext.Threading.Leases
Assembly: DotNext.Threading.dll
Syntax
protected readonly struct LeaseConsumer.AcquisitionResult
Properties
| Edit this page View SourceIdentity
Gets or sets the identity of the lease.
Declaration
public required LeaseIdentity Identity { get; init; }
Property Value
Type | Description |
---|---|
LeaseIdentity |
TimeToLive
Gets or sets lease expiration time returned by the provider.
Declaration
public required TimeSpan TimeToLive { get; init; }
Property Value
Type | Description |
---|---|
TimeSpan |