Show / Hide Table of Contents

Struct Result<T>

Represents RPC response.

Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public struct Result<T>
Type Parameters
Name Description
T

Constructors

| Improve this Doc View Source

Result(Int64, T)

Initializes a new result.

Declaration
public Result(long term, T value)
Parameters
Type Name Description
Int64 term

The term provided by remote node.

T value

The value returned by remote node.

Fields

| Improve this Doc View Source

Term

Gets term of the remote member.

Declaration
public readonly long Term
Field Value
Type Description
Int64
| Improve this Doc View Source

Value

Gets RPC response.

Declaration
public readonly T Value
Field Value
Type Description
T

Extension Methods

ExpressionBuilder.Const<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX