Struct LeaseAcquisitionResult<TMetadata>
Represents a result of lease acquisition operation.
Inherited Members
Namespace: DotNext.Threading.Leases
Assembly: DotNext.Threading.dll
Syntax
public readonly struct LeaseAcquisitionResult<TMetadata>
Type Parameters
| Name | Description |
|---|---|
| TMetadata | The type of metadata associated with a lease. |
Fields
View SourceExpiration
The expiration timeout.
Declaration
public readonly Timeout Expiration
Field Value
| Type | Description |
|---|---|
| Timeout |
State
The state of the lease.
Declaration
public readonly LeaseState<TMetadata> State
Field Value
| Type | Description |
|---|---|
| LeaseState<TMetadata> |