Function in ldk_os.h

ldk_os_event_next

Dequeue the next pending operating-system event.

LDK_API bool ldk_os_event_next(LDKEvent *event);

Parameters

LDKEvent *event
Event to inspect or receive.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_os.h

ldk_os_events_poll

Poll for the next platform event.

LDK_API bool ldk_os_events_poll(LDKEvent *event);

Parameters

LDKEvent *event
Event to inspect or receive.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_os.h

ldk_os_events_pump

Process pending operating-system events.

LDK_API void ldk_os_events_pump(void);