TSocketNotifier

Translates TAwaitable events into dummy messages on a socket that can be used e.g. to wake up from a select() call.

Constructors

this
this()
Undocumented in source.

Members

Functions

attach
void attach(TAwaitable awaitable)

Atatches the socket notifier to the specified awaitable, causing it to write a byte to the notification socket when the awaitable callbacks are invoked.

detach
void detach()

Detaches the socket notifier from the awaitable it is currently attached to.

socket
Socket socket()

The socket the messages will be sent to.

Meta