OsPoller.isEdgeTriggered

bool isEdgeTriggered(uint nativeMask) static pure @safe nothrow @nogc

Check whether a native epoll event mask has edge-triggered mode set.

Note

EPOLLET is an input-only flag and is not returned by

epoll_wait. This helper is useful for inspecting registration masks, not output events.

Parameters

nativeMaskNative epoll event bit-mask.

Returns

true when EPOLLET is present in the mask.