EpollSelectDispatcher.onCycleEnd

Adds new callback to the queue of delegates to be called after the current select cycle. It will only be kept for a single cycle.

class EpollSelectDispatcher
void
onCycleEnd

Parameters

cb SelectCycleCallback

callback to call once after the current cycle ends. Must return true to block event loop from terminating in the current cycle. Returning false is primarily intended for internal epoll/scheduler facilities and unlikely to be of use in an application code.

Meta