yev_destroy_event()

yev_destroy_event()#

yev_destroy_event() releases the resources associated with a given event, ensuring proper cleanup.

Prototype

void yev_destroy_event(
    yev_event_h yev_event
);

Parameters

Key

Type

Description

yev_event

yev_event_h

Handle to the event that will be destroyed.


Return Value

This function does not return a value.

Notes

If the event is associated with a socket, it will be closed before destruction.

Prototype

// Not applicable in JS

Prototype

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