Function alive

Synopsis

#include <src/uvw/loop.h>

bool alive() const noexcept

Description

Checks if there are active resources.

Returns
True if there are active resources in the loop.

Source

Lines 79-81 in src/uvw/loop.cpp. Line 205 in src/uvw/loop.h.

UVW_INLINE bool Loop::alive() const noexcept {
    return !(uv_loop_alive(loop.get()) == 0);
}





Add Discussion as Guest

Log in