yev_loop_run_once()

yev_loop_run_once()#

yev_loop_run_once() executes a single iteration of the event loop, processing one event if available.

Prototype

int yev_loop_run_once(
    yev_loop_h yev_loop
);

Parameters

Key

Type

Description

yev_loop

yev_loop_h

Handle to the event loop instance.


Return Value

Returns 0 on success, or a negative value on failure.

Notes

This function processes at most one event and then returns immediately. To continuously process events, use yev_loop_run().

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples