Struct PollEvent

Synopsis

#include <src/uvw/poll.h>

struct PollEvent

Description

PollEvent event.

It will be emitted by PollHandle according with its functionalities.

Methods

PollEvent

Source

Lines 34-48 in src/uvw/poll.h.

struct PollEvent {
    explicit PollEvent(Flags<details::UVPollEvent> events) noexcept;

    /**
     * @brief Detected events all in one.
     *
     * Available flags are:
     *
     * * `PollHandle::Event::READABLE`
     * * `PollHandle::Event::WRITABLE`
     * * `PollHandle::Event::DISCONNECT`
     * * `PollHandle::Event::PRIORITIZED`
     */
    Flags<details::UVPollEvent> flags;
};





Add Discussion as Guest

Log in