SelectedKeysHandler.opCall

Handles the clients in selected_set.

class SelectedKeysHandler
override
void
opCall
(,
scope bool delegate
(
Exception
)
unhandled_exception_hook
)

Parameters

selected_set epoll_event_t[]

the result list of epoll_wait()

unhandled_exception_hook bool delegate
(
Exception
)

if not null, will be called each time event call results in unhandled exception. May both rethrow and consume exception instance after processing it.

Meta