class

Tokoroten::Worker

Inherits Reference < Object

Constructors

new(main_reader : IO::FileDescriptor, main_writer : IO::FileDescriptor, worker_reader : IO::FileDescriptor, worker_writer : IO::FileDescriptor)
Source

Class methods

create(num : Int32 = 1, read_timeout : Int32 | Nil = nil) : Array(Worker)
Source

Instance methods

exec(message : String | Nil = nil)
Source
exists?
Source
kill
Source
receive
Source
response(message : String)
Source
task(message : String)
Source
wait_thread
Source