AsyncNotifier

Thread-local event dispatcher/handler, used to wake up the associated callback in a new call stack originating from the event loop.

Constructors

this
this(EventLoop evl)

Members

Functions

kill
bool kill()

Cleans up associated resources.

run
bool run(void delegate() del)

Starts the notifier with the associated delegate (handler)

trigger
bool trigger()

Enqueues a call to the handler originating from the thread-local event loop.

Properties

id
fd_t id [@property getter]

Variables

m_evh
void delegate() m_evh;

Meta