asynchronous.events

Event loop and event loop policy.

Members

Classes

Callback
class Callback(Dg, Args...)

A callback wrapper object returned by $(D_PSYMBOL EventLoop.callSoon), $(D_PSYMBOL EventLoop.callSoonThreadSafe), $(D_PSYMBOL EventLoop.callLater), and $(D_PSYMBOL EventLoop.callAt).

EventLoop
class EventLoop

Interface of event loop.

EventLoopPolicy
class EventLoopPolicy

Interface of policy for accessing the event loop.

Functions

getEventLoop
EventLoop getEventLoop()

Equivalent to calling getEventLoopPolicy.getEventLoop.

getEventLoopPolicy
EventLoopPolicy getEventLoopPolicy()

Get the current event loop policy.

newEventLoop
EventLoop newEventLoop()

Equivalent to calling getEventLoopPolicy.newEventLoop.

setEventLoop
void setEventLoop(EventLoop loop)

Equivalent to calling getEventLoopPolicy.setEventLoop(loop).

setEventLoopPolicy
void setEventLoopPolicy(EventLoopPolicy policy)

Set the current event loop policy.

Interfaces

CallbackHandle
interface CallbackHandle
Server
interface Server

Interface server returned by createServer().

Structs

ExceptionContext
struct ExceptionContext

Exception conxtext for event exceptions

Meta

Authors

Dragos Carp

License

Boost Software License - Version 1.0