FileReader

Base class for file readers which can read a file or standard handle line by line in a Fiber context, yielding until a line is available.

Constructors

this
this()
Undocumented in source.

Members

Functions

run
void run()
Undocumented in source.
stop
void stop()
Undocumented in source.
yieldData
ubyte[] yieldData(size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
yieldLine
string yieldLine()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

data
ubyte[] data;
Undocumented in source.
mutex
Mutex mutex;
Undocumented in source.
running
bool running;
Undocumented in source.

Meta