Struct Result<T>
Represents RPC response.
Inherited Members
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public readonly struct Result<T>
Type Parameters
Name | Description |
---|---|
T | The type of RPC response. |
Properties
| Edit this page View SourceTerm
Gets term of the remote member.
Declaration
public required long Term { get; init; }
Property Value
Type | Description |
---|---|
long |
Value
Gets RPC response.
Declaration
public T Value { get; init; }
Property Value
Type | Description |
---|---|
T |