struct D4::WriteProgress

Overview

A progress snapshot emitted by WriteControl.

Defined in:

d4/write_control.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(stage : WriteStage, chromosome : String | Nil = nil, current : Int64 = 0_i64, total : Int64 = 0_i64) #

[View source]

Instance Method Detail

def chromosome : String | Nil #

def clone #

[View source]
def copy_with(stage _stage = @stage, chromosome _chromosome = @chromosome, current _current = @current, total _total = @total) #

[View source]
def current : Int64 #

def stage : WriteStage #

def total : Int64 #