struct Trefoil::Thread

Defined in:

trefoil/thread.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(client : Client, board : Board, id : Int32) #

[View source]
def self.new(client : Client, board : Board, op_info : PostInfo) #

[View source]

Instance Method Detail

def board : Trefoil::Board #

[View source]
def id : Int32 #

[View source]
def op : Post | Nil #

[View source]
def posts #

Returns an array of Post objects from this thread.


[View source]
def watch(interval : Time::Span, &block : Array(Post) -> _) #

[View source]
def watch_async(interval : Time::Span, &block : Array(Post) -> _) #

[View source]