class App::Processor

Overview

Default processor/scheduler implementation.

Defined in:

app/processor.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(urls) #

[View source]

Instance Method Detail

def download_time : Time::Span #

[View source]
def download_time=(download_time : Time::Span) #

[View source]
def finalize #

Closes open connections and channels when object is destroyed


[View source]
def html_results(io) #

Displays HTML result rows


[View source]
def mutex : Mutex #

[View source]
def parse_time : Time::Span #

[View source]
def parse_time=(parse_time : Time::Span) #

[View source]
def results : Channel(Result) #

[View source]
def run #

Starts processing of the requested URLs


[View source]