vibe.d beta banner
get vibe.d
0.8.4

Asynchronous I/O that doesn’t get in your way, written in D

Interface EventDriver

Encapsulates a full event driver.

interface EventDriver ;

This interface provides access to the individual driver features, as well as a central dispose method that must be called before the driver gets destroyed or before the process gets terminated.

Properties

NameTypeDescription
core[get] inout(EventDriverCore)Core event loop functionality
dns[get] inout(EventDriverDNS)DNS queries
events[get] inout(EventDriverEvents)Cross-thread events (thread local access)
events[get] inout(shared(EventDriverEvents))Cross-thread events (cross-thread access)
files[get] inout(EventDriverFiles)Local file operations
signals[get] inout(EventDriverSignals)UNIX/POSIX signal reception
sockets[get] inout(EventDriverSockets)Stream and datagram sockets
timers[get] inout(EventDriverTimers)Single shot and recurring timers
watchers[get] inout(EventDriverWatchers)Directory change watching

Methods

NameDescription
dispose Releases all resources associated with the driver
Authors
Copyright
License