yev_get_loop()

yev_get_loop()#

yev_get_loop() retrieves the event loop handle associated with the given event.

Prototype

yev_loop_h yev_get_loop(
    yev_event_h yev_event
);

Parameters

Key

Type

Description

yev_event

yev_event_h

The event handle from which to retrieve the associated event loop.


Return Value

Returns the event loop handle (yev_loop_h) associated with the given event.

Notes

If yev_event is invalid or uninitialized, the behavior is undefined.

Prototype

// Not applicable in JS

Prototype

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