struct Raft::Node::ClientResponse

Overview

The result of a client proposal, delivered via the response channel. :nodoc:

Defined in:

raft/node/role.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(success : Bool, data : Bytes, leader_hint : String | Nil = nil) #

[View source]

Instance Method Detail

def data : Bytes #

[View source]
def leader_hint : String | Nil #

[View source]
def success? : Bool #

[View source]