class BitShares::BlockWrapperTask

Defined in:

bitshares-crystal/task.cr

Constructors

Instance Method Summary

Instance methods inherited from class BitShares::Task

client : Client client, fiber : Fiber | Nil fiber, finished? finished?, main main, on_exception(e) on_exception, run run, start start, stop stop, tick_per_day tick_per_day, tick_per_minute tick_per_minute

Constructor methods inherited from class BitShares::Task

new(config_object : BitShares::Config | Nil = nil) new

Constructor Detail

def self.new(config_object : BitShares::Config | Nil = nil, &blk : Proc(Task, Nil)) #

[View source]

Instance Method Detail

def main #
Description copied from class BitShares::Task

异步任务主方法。子类应该重新实现该方法。


[View source]