class Mopdepth::Control

Overview

Cooperative cancellation and progress reporting for coverage operations.

Defined in:

mopdepth/control.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(on_progress : Proc(Progress, Nil) | Nil = nil) #

def self.new(&on_progress : Progress -> Nil) #

Instance Method Detail

def cancel : Nil #

def cancelled? : Bool #

def check! : Nil #

def update(progress : Progress) : Nil #