Struct ReactorFD

An FD capable of performing sleeping operations through the reactor, when necessary

struct ReactorFD ;

Constructors

NameDescription
this Constructor from existing mecca.lib.FD
this Constructor from existing mecca.lib.FD

Properties

NameTypeDescription
get[get] FDReturns the underlying mecca.lib.io.FD
isValid[get] boolTests for open descriptor

Methods

NameDescription
close Cleanly closes an FD
opAssign Move semantics opAssign
passivify Take an FD out of the control of the reactor
read Perform reactor aware @safe read
registerCallback Register a user callback to be called if the FD is "active"
write Perform reactor aware @safe write